What is a Statement
Action logic is comprised of a set of Statements. A statement may be created for clicking a button on your application, verifying the title of your application page, or a loop to repeat certain logic multiple times. Every line in the Action logic is a statement.
Inserting a Statement
1. Click on the new line in the logic editor.
2. Start typing your intent and follow the instruction on the screen.
Note: If you need to insert a statement in the middle of existing logic, select an existing statement and hit "Enter" or "Shift + Enter" to make a new statement after or before the current statement.
Selecting a Statement Type
1. By default you are presented with a set of command statements as you type in the new statement. These are statements like clicking a button, read an excel, connect to a DB etc.
2. Type "/" to get the list of special statement types such as conditionals, loop statements etc.
Keyboard shortcuts
Create a Statement
At the end of logic | Click the empty statement at the end of the logic |
Below a statement | Select the statement and hit Enter |
Above a statement | Select the statement and hit Shift + Enter |
Statement Types
Conditional statement | Type /if in the new statement |
Loop statement (for/while/do-while) | Type /loop in the new statement |
Expression | Type /= in the new statement |
Annotation | Type /annotation in the new statement |
Calling an Action | Type /call action in the new statement |
Edit statement
Copy | Select statement(s) and type Ctrl + c |
Paste-Before | Select statement(s) and type Ctrl + v |
Paste-After | Select statement(s) and type Shift + Ctrl + v |
Paste anywhere | Click on a new statement and type Ctrl + v |
Delete | Select the statement(s) and hit Del |
Comment | Select statement(s) and hit / |
Uncomment | Select statement(s) and hit Shift + / |
Undo change | Type Ctrl + z |
Redo change | Type Ctrl + y |
Statement help | Type ? |
Comments
0 comments
Please sign in to leave a comment.