- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 12:31 AM
I am creating a flow designer - when an incident is created - > it should create a pdf and attach it to the current incident.
I need to pass the current incident object so that I can access the details of the incident in Script include.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 01:31 AM
Hi @Naveen Kumar ,
Above suggestion by Basheer is correct. I would like to add that flow designer is running on backend. So in order for you to access the script include from flow you would need to uncheck the Client Callable in the script include.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 12:35 AM
Hi @Naveen Kumar ,
You can directly pass the current object in the script step
In line 5 you can pass current as input.
scriptInc.createdraft(current);
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 01:31 AM
Hi @Naveen Kumar ,
Above suggestion by Basheer is correct. I would like to add that flow designer is running on backend. So in order for you to access the script include from flow you would need to uncheck the Client Callable in the script include.