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 02:33 AM
Hi @mishrarakes
You can create custom script actions to run your script.
Please share more information and if possible share your script from the scheduled job.
Will try to replicate the same with the flow designer.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 02:37 AM
sure, Here is a script
/***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 04:29 AM - edited 03-25-2025 04:30 AM
You can achieve this without writing script.
PFB.
1. Create a flow with trigger type as "Scheduled -> Monthly -> 1st day at 00:00:00"
2. Create one Schedule (cmn_schedule) as per your required. In this example I took 8-5 weekdays.
3. Use Wait for a duration of time flow logic to validate the working day by passing the run start Date/time and create the incident once the time is 8AM.
Let me know if you have any queries.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2025 03:28 AM
Hello @mishrarakes ,
- Create the flow which has trigger as schedule and mentioned monthly. Select date and time your as per your use case.
- Add action as "create record" after trigger and select "table as "incident and all required fields to create.
- Please check the attached snap shot to understand.