Transition types describe the manner or method by which a system moves from a trigger to an action.
This is represented by the line connecting the trigger and the action/event.
engAIge offers 4 transition types:
- Default
- Condition
- Delay
- Bookmark
Each transition type will be a different colour line as seen in the key below
Default Transition
This is the standard transition that is taken when no specific conditions are met. It's the "fallback" transition, ensuring that there's always a path from the trigger to an action even if no other criteria are satisfied.
Condition Transition
This transition type is based on a specific condition or set of conditions being met. Only when the condition(s) evaluate to true does the transition lead to the associated action. For instance, a condition might check if a user is logged in before allowing access to a particular resource.
Breaking down the JS Expression:
InputData.PAYLOAD_FIELD_NAME.ToString() === 'VALUE' The highlighted fields below will change depending on the condition and the payload
Delay Transition
This transition introduces a waiting period between the trigger and the action. The action will only be executed after a specified amount of time has passed since the trigger was activated. For example, a delay transition might be used to wait for 5 seconds after a button is clicked before displaying a pop-up.
Bookmark Transition
This transition type allows for a process to be paused and resumed at a later time. When the trigger is activated, the system marks or "bookmarks" the current state. The action can then be executed later when the process is resumed from the bookmarked state. This is useful in scenarios where manual intervention or approval is required before proceeding.
Steps in creating a bookmark transition
- Complete the trigger details
- Add the action to follow
- Connect the trigger and the action with a bookmark trigger
- Name the bookmark
- Complete the actions details and choose the bookmark in the drop down in the bookmark field
- Add the last action that is being bookmarked
- Connect the 2nd to the 3rd action with a transition. The type will be dependant on your requirements.
- Complete the 3rd action actions details
- Save the workflow and activate
Usecase provide in the below video:
engAIge receives a trigger to send out an email to the customer.
When this email is opened it will open the bookmark and release the bookmarked SMS.