Skip to content
Branch: master
Find file History
Pull request Compare This branch is 7 commits ahead, 25 commits behind TIBCOSoftware:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
activity.go
activity.json

README.md

Sleep

This activity allows you to pause flow execution for given time interval.

Installation

Flogo Web

https://github.com/vijaynalawade/flogo-contrib/activity/sleep

Flogo CLI

flogo install github.com/vijaynalawade/flogo-contrib/activity/sleep

Schema

Inputs and Outputs:

{
  "input":[
    {
          "name": "interval",
          "type": "integer"
    },
    {
          "name": "intervalType",
          "type": "string",
          "allowed": ["Millisecond", "Second", "Minute"],
          "value": "Millisecond"
    }
  ]
}

Settings

Setting Required Description
interval True Sleep time interval
intervalType True Interval type. Supported types are - Millisecond, Second, Minute

Examples

The below example pauses flow execution for 30 seconds:

{
      "id": "SleepActivity",
      "name": "SleepActivity",
      "activity": {
       "ref": "github.com/vijaynalawade/flogo-contrib/activity/sleep",
       "settings": {},
       "input": {
        "interval": 30,
        "intervalType": "Second"
       }
      }
}
You can’t perform that action at this time.