How to add template for change request via flow or script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 09:01 AM
I am converting workflow to flow, In that there is one activity to create change request, They are adding some template while creating it in workflow, I am not getting exactly how to add template via flow or flow action.
I tried with script like "applyTemplate", But its not working.
If you know something please let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 09:17 AM - edited ‎07-15-2025 09:18 AM
Hi @Gurupadappa ,
you can create a custom action and add script in the custom action and use that custom action
you can use the applyTemplate in the custom script action
you can refer this
https://www.youtube.com/watch?v=0binVTdjdWw
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 09:48 AM
no direct way available in flow.
You need to use custom flow action with script.
In that case I will suggest to use business rule as flow should be used for low-code, no-code.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2025 10:45 AM
Can you suggest the script approach apart from "applyTemplate"