Note: This documentation refers to Gravio 3.8 or older. For Gravio 4 or newer, please refer to the respective documentation on doc.gravio.com, BranchCase . |
If you add a Branch component and then double click on it in the timeline at the top, you move down a “hierarchy level” as indicated in the breadcrumb bar at the top:
At this level, you can add BranchCase or BranchTimeCase Components where you specify the condidtions, under which the Action should continue within which BranchCase.
After double-clicking on the BranchCase, you will go one hierarchy level deeper where you can continue to design your Steps:
BranchTimeCase specifies a step input field of type DateTime and sub-actions are executed only for records whose time is within range.
For “Target”, specify the field name of the target step input. In order for this “Target” to be set, you will need the CreateRecord
step, which maps the av.
variables to a new record.
Then you can access the record in the Target
field:
“Start Time” and “End Time” are specified in HH:mm:ss
format. Minutes and seconds can be omitted. Also, if you specify it like 26:00
, it will be equivalent to specifying 2:00
.
If “End Time” is smaller than “Start Time”, for example, if “Start Time” is 22:00
, “End Time” is 06:00
, it will range from midnight 0:00
o’clock. In the above case, it is subject to 0:00
to 6:00
and 22:00
to 0:00
.
“End Time” Just time is not included in the range.
By double-clicking BranchCase or BranchTimeCase, you can continue designing subactions to be executed if the conditions are met.
BranchCase and BranchTimeCase are evaluated from left to right. A record that matches the condition can not be evaluated under subsequent conditions.