- Introduction to Syncloop
- Quick Start Syncloop
API Developer Guide
- User Guide
In Syncloop API Development Platform the Sequences are used to model a structured API. In SEQUENCE homogenous tasks are kept a separate block that is termed Sequence and is used to wrap up various statements inside the Sequence giving a block-level view of the statements. There can be single or multiple steps under Sequence. It provides a top-down view of the service that is built on various blocks or structures. Each block or structure can be accessed separately for better statement clarity and also reduces the reading complexity of the service.
Sequences can also be nested within some other Sequences. These Sequences when kept in a nested form can be controlled based on a condition and such Sequences are called conditional sequences. The statements under this Sequence are executed when the condition specified inside the said Sequence is true. This condition is specified under the condition option provided in the properties dialog. For every conditional sequence, the parent sequence condition evaluation on sub-steps needs to be enabled/checked.
To create a new sequence right-click on the workspace and select Sequence.
1. Status: To enable/disable the Sequence. The default Sequence will be in enabled mode. If the status is selected as disabled in the Sequences & its child Sequences and further steps will not execute when the API will be invoked either from HTTP or from another service.
2. Snapshots: Create a runtime data state snapshot for the Sequence step.
3. Comment: Add a comment on the Sequence step. These comments will be displayed with the Sequence Step in the workspace.
4. Enable condition evaluation on sub-steps: When this is made true the nested sequences will be evaluated for a condition. When the condition is true then only the nested Sequences will be executed. This aids in controlling each individual nested sequence.
5. Condition: When this condition is true then only the statements under the sequence are executed. This will only work in child sequences.
To know more about Syncloop Sequence, click to watch the video below