How to get Execution flow Sysid in the flow designer action to check any existing execution for same
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 09:27 PM
Hi All.
I am triggering inbound email flow for updating attachment to Import set. I was deleting existing attachments and copying new attachment to data source. I am facing issue in one scenario where if two inbound emails triggered at same time then one attachment is missing and not loading the data.
So for this I am thinking to get flow execution sys_id in the action to check existing execution flow irrespective of this current flow.
Can any one help on this how to get sys id..?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2023 11:53 PM
Try defining a flow variable and use the below script against it.
return FlowscriptAPI.getcontextID(); // returns the sys_id of the flow