Trigger flowdesigner based on UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @Kri
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0869563
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Greetings @Kri. The only thing I'd like to add to @Dr Atul G- LNG's amazing comment is some screenshots of how ServiceNow generates a Code Snippet for you to copy and paste into your UI Action.
- Navigate to either Flow Designer or the new Studio.
- Click on the Actions tab / pill
- Select the Flow Action you wish to call from your UI Action. In my example, I picked the "Add Comment" Flow Action
- Within the Flow Action, navigate over to the upper right of the screen to the More Actions menu icon. In the menu that is displayed, select Create code snippet.
- A pop-up will then display that says Code snippet to execute this Action. Click the blue Copy Code Snippet to Clipboard button at the bottom of this pop-up.
Finally, all that will be required after that is to map any inputs for the Flow Action from the UI Action into the generated code snippet.
I hope this information is helpful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Kri ,
After your flow designer flow is activated, click on 3dots symbol on the top right of the flow designer and click on create code snippet and copy that code and paste that code in the UI Action
If my response helped, mark it as helpful and accept the solution
