FlowScriptAPI - Scoped
-
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- API reference
A FlowScriptAPI object allows you to access Flow Designer context details from script steps and inline scripts.
You cannot instantiate objects of this type. Objects of this type are created automatically and are accessible only in script steps and inline scripts.
FlowScriptAPI - getContextID()
Returns the context ID of the running flow.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
String | The sys_id of the running flow. |
Example
This example assumes you have created a flow containing a Log action. This inline script generates the content of the Log message.
Output: