How to write Script Action in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 05:31 AM
I got the script for to create multiple RITM from single request based on MRVS and for that they have written Run script in workflow. I have an requirement of to write the script in flow designer. I am attaching the script which is written in workflow.
Your help will we Appriciated!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 05:35 AM - edited 06-11-2024 05:46 AM
Hi @Rohan04 ,
A direct solution to this would be for you to create a custom action, in there create a scripted step and add this code in that step and then use this action in your flow.
These steps will help you create an action.
1) Create new Action, same as you create a new flow.
2) Click on the plus icon to add a step and select script by scrolling the option.
3) After creating the scripted step, add you code in the coding area.
Thanks,
Hope this helps.
Thanks,
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2024 10:45 PM
Thanks @HrishabhKumar for giving the step-by-step procedure for writing script action in flow designer. I have followed the same but, it is throwing the error while running the flow. can you please give me the idea where I get stucking...or else can you provide me the exact flow that will be helpful for me...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 01:08 AM
@Rohan04 Could you paste your script here. It will give us an idea on where exactly the issue lies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 02:23 AM