Bulk statement generation
Statement Generator provides a capability to generate bulk statements when you need to work with forms containing multiple fields. It may be necessary in your action logic to write statements to populate or verify a bunch of fields in a form. This is especially common in enterprise applications such as Salesforce, Pega or Oracle ERP.
How to create bulk statements
To create bulk statements, hover in the View in the logic editor and highlight any rectangle that encompasses all the fields on which the statements need to be generated. Right click on the rectangle and select "Statement Generator".
Note: If there are multiple overlapping elements in the same rectangular area, it does not matter which rectangle you pick. There is no technical dependency to find a <form> element in the page.
This brings up a modal with all the identified fields in the given rectangular area. You can select between "populate" vs. "verify" options to create appropriate set of statements. Review and furnish any input values to be provided for the statements (such as enter-text command).
New Elements created as part of statement generator
When you are creating bulk statements, it is possible some of the elements in the rectangular area were already part of the Element Repo and some may be new elements. New elements are indicated with orange font.
Names for new elements default to system calculated name. You can click the element name and and modify as needed. Also, the identification criterion is setup based on system default algorithm. When you are done with the statement generation, the list of new elements are displayed and recommended to review these.
An alert is maintained for all the new elements that were created as part of bulk generation. Once the user reviews these elements, the alert is automatically removed.
Comments
0 comments
Please sign in to leave a comment.