Table of Contents

Search

  1. Preface
  2. Taskflows and linear taskflows
  3. Taskflows
  4. Linear taskflows

Taskflows

Taskflows

getInstanceStartTime

getInstanceStartTime

Returns the start date and start time of the running instance of the taskflow that uses the function.
For example, you can use the function to find when a taskflow started running and abort the taskflow if it has been running beyond the expected duration.

Syntax

util:getInstanceStartTime()
The getInstanceStartTime function does not use an argument.

Return Value

Start date and start time of the running instance of the taskflow that uses the function.
The return value is in the Coordinated Universal Time (UTC) format as follows:
YYY-MM-DDTHH:mm:ss.sssZ

Example

If you use the getInstanceStartTime function in a taskflow that was started on January 19, 2021, the function returns the following value:
2021-01-19T10:11:21.047Z

0 COMMENTS

We’d like to hear from you!