How can I get the sys id of flow context that is created in the later steps of the same flow context?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2022 05:20 AM
Is there a way to fetch the sys id of the current flow in later steps in flow designer?
something like current.sys_id
Labels:
- Labels:
-
flow designer
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2025 11:01 PM
You can use the FlowScriptAPI: https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/app-store/dev_portal/API_reference/...
var contextId = FlowScriptAPI.getContextID();
return contextId;