Help:Processing:Flows

From Opadeez Wiki
Jump to navigationJump to search

A flow is a sequential list of actions. Some actions are considered server-side and don't require user interaction (save action for example), other actions require user interaction and make the flow pause until the user performs some action (page action, menu action...).
Flows also support conditions to execute different branch based on the values of some fields.

Flows

Flow name Name of the flow. The name must be unique.
Is Loop By default, user is redirected to the main menu bar after reaching the end of a flow. If this option is set, the flow execution will loop again from the beginning instead.
Data set Each flow is linked to 1 specific data set. Every access to data within this flow will be performed based on the selected data set.
Duplicate this flow This link allows creating a copy of the currently selected flow, which you can then modify separately.
Edit Flow Click on this button to open the "Flow Editor"

Flow Editor

Opadeez Studio Flow Editor

The Flow Editor interfaces is made of the following elements:

  • The Flow editor: this is the main frame used to define the execution sequence of the actions within the flow. Action objects can be dragged-dropped to be arranged in a visual manner.
  • The Toolbox: this frame is used to add new actions to the Flow editor. It shows option to create pre-defined actions such as Save, If... and also a list of existing objects that exist within the solution such as Pages, Lookups etc...
  • Properties: this pan is used to define additional properties on the currently selected action

How to add an action to the flow

To add an action to the flow, click on an action in the Toolbox. This will create a Floating action object within the Flow editor. Floating actions are not saved; in order to make the action permanent, you must insert it within the flow, between Begin and End. To do so, drag-drop the floating action on top of the action that it succeeds to, or drag-drop on top of the Begin element to make this action the first of the flow.
Refer to Actions for details on each actions you can insert in a flow.

How to move an action within the flow

In order to move an existing action at a different sequence within the flow, click the detach icon for this action (located at the top-right corner of the action icon). This will make the action floating, and you can then drag-drop it on top of another action to position it at a different place in the sequence of execution.

How to delete an action

In order to delete an action, click the detach icon for this action (located at the top-right corner of the action icon). The action will become floating and will disappear if you create a new action, or make another action floating. Note that floating actions are not saved, so if you leave the action floating it will be deleted automatically.

How to create a condition

In order to create a condition, add an "If" action within the flow. Once inserted, the If action has a beginning (diamond shape) and an end (black rectangle). You then need to add actions inside the "Yes" and the "No" branches. To do so, add first the action you want to be executed in the "Yes" branch by drag-dropping it on the diamond shape. Then the next action you will add to the Diamond shape will be inserted in the "No" branch.
If you need to move an action from the "Yes" to the "No" branch (and vice-versa), click on the detach icon, and drag-drop it back to the Diamond shape. Every time you do so, the action will be inserted alternatively in the "Yes" and the "No" branch.

See also