Delay Node

The delay node postpones the execution of the part of the workflow after the node. The amount of time to delay the execution can be entered in the node.

This will delay the execution of the remaining part of the workflow by 100 seconds

The following workflow will help to understand the use of the Delay Node:

Goal

The goal of this workflow is to schedule the launching of the AWS resource every morning automatically.

Nodes Required

  • Trigger node

  • Resource node

  • Action node

  • Delay node

  • Action node

The workflows will finally look like this:

Trigger node

The Trigger node is set from Monday to Friday(weekdays) at 9 every night.

Resource node

In the resource node we choose the desired AWS resource which in our case is EC2 .

Action node

The action node stops the running instances.

Delay node

The delay node here will postpone the starting of the EC2 instances till the next morning.

The input type of a delay node is in seconds

Action node

The action node simply starts the stopped instances the next morning.