Delay

The Delay component allows you to introduce pauses or delays within your workflow, enabling you to control the timing of actions or events. This component is useful for implementing time-based operations such as scheduling tasks or managing flow execution timing. It pauses the workflow for a specified amount of time before continuing to the next step, which can be beneficial if you need to wait for an external service to update or for any other reason where a delay is required in the workflow.

Benefits

  • Improved Workflow Control: Enhance flexibility in designing workflows to handle complex processing scenarios.

  • Efficiency: Eliminate unnecessary steps by timing actions and events appropriately.

  • Integration with External Services: Ensure workflows can wait for updates from external services before proceeding.

By using the Delay Component, you can effectively manage and control the timing of your workflow, ensuring that actions occur at the right moment and in the right sequence for optimal operation.

Use Cases for the Delay Component

  • Scheduling Tasks: Introduce delays to schedule tasks at specific intervals.

  • Managing Flow Execution Timing: Control the timing of actions to ensure proper sequence and coordination.

  • Waiting for External Services: Pause the workflow until an external service is updated or a condition is met.

Steps to use Delay Component

  1. Add Delay Component to Canvas:

    To add the Delay components to the canvas, you have two options:

    1. Navigate through the components menu in the side panel, and drag the Delay component onto the canvas of your workflow.

    2. Click the plus icon, which opens a window allowing you to search for various components and connectors. Search for the Delay component and select it.

    Each component will be labeled with a unique identifier (e.g., delay_1) for easy reference if multiple Delay components are used.

  2. Access Delay Component Settings:

    Click on the Delay component to access its settings.

  3. Enter Delay Details:

    Within the Delay component settings, specify the amount of delay you want to introduce.

    • Enter the delay amount.

    • Select the unit of time for the delay (Milliseconds, Seconds, Minutes).

  4. Submit:

    After entering the delay details, click the "Submit" button to confirm your configuration.

  5. Hover for Information:

    Hover over the Delay component on the canvas to view a tooltip with additional information.

  6. Execute the Delay Component:

    Hover your mouse over the Delay Component to display the action buttons then click the play button to execute the step. The execution result can be viewed in the logs panel.

NOTE:

  • The Delay component allows you to introduce pauses between workflow actions to manage timing and sequence of operations.

  • Ensure that the delay amount and time unit are configured appropriately based on your workflow requirements.

  • Test the Delay component to ensure that the timing meets your expected workflow behavior.

Last updated