Understanding Directual Scenarios
Unleash the power of back-end logic 🚀
Last updated
Unleash the power of back-end logic 🚀
Last updated
101-course: The basics of Directual scenarios
Directual scenarios are a crucial component of your application's back-end logic. Scenarios manage and process data based on specified criteria.
Directual scenarios process objects in a target data structure. You can select the target data structure when configuring the START step:
Directual scenarios offer two primary types of triggers:
Real-time, event-based (as a reaction to an event): These scenarios respond to specific events, such as user actions or changes in the application's data. For instance, a scenario can be triggered when a user submits a form.
Additional trigger options:
Calling scenarios from within scenarios: You can execute one scenario from another using the Link scenario step, creating complex workflows by chaining scenarios together
Synchronous scenarios: These scenarios respond to synchronous POST requests and process incoming data, returning it as an API response
Note that a single scenario has the capability to incorporate all available trigger types!