Create an incident on first working day of the month using flow designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 02:25 AM
I have done this using schedule jobs but how can i achieve this using flow designer, I am not getting option of adding script in flows. can some one help!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 03:40 AM
Hi @mishrarakes ,
Besides the obvious, why would you then like to create an incident on a scheduled interval? What is the purpose?
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 03:40 AM
Create a custom flow action and then invoke it from your flow.
That custom flow action will have script step and you can use your script there.
what's the challenge faced?
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
03-25-2025 04:22 AM
Hi @mishrarakes,
Please use flow actions to do the scripting part in flow designer by passing the required input values as parameters.
Steps to follow.
1. Create an action.
2. Add Script as next step by clicking the + icon below inputs.
3. Click on script option.
4. Pass the required parameters via action inputs.
5. Return the required result in output and call the action in the desired flow.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 08:06 AM
Hi @mishrarakes
Use the trigger condition as scheduled monthly on 1st day.
Use OOB actions to create the incident record and fill in the required fields for the incident.
You need not to create any action or do any customization.
Please mark my response as helpful if it help and accept the solution if it resolved your issue.
Warm regards,
Aniket