Scheduled job for incident table using flow designer.

Kishor O
Tera Sage

Hello everyone I have one requirement to run scheduled job daily on the incident table to monitor incidents created from Dynatrace caller .

*If incident has not been created from last 24 hours from caller  Dynatrace  then trigger a notification saying 

incident has not created from Dynatrace caller from last 24 hours.

*And it should create one incident stating please monitor incident inactivity from  Dynatrace  source.

 

*I know how to achieve this using scheduled job 

*But I want to do it using flow designer.

Can anyone help me on this requirement.

1 ACCEPTED SOLUTION

Sohail Khilji
Kilo Patron
Kilo Patron

Dear @Kishor O ,

 

1. As its 24hrs, you can set the trigger to run daily which will execute the flow every 24hrs.

2. Create a ACTION by using script utility and use it in flow to check if any incident is created in last 24hrs by given user.

3. Use if else condition to evaluate if incident is created or not.

4. Use Notification to send the notification on 'no incident creation by given user'.

5. Use 'Create record' action to create the incident.\

 

I hope this helps !

 

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

View solution in original post

2 REPLIES 2

DanielCordick
Mega Patron
Mega Patron

i believe for your use case you want to use the the schedule based trigger and the Do the Following until action

 

https://docs.servicenow.com/en-US/bundle/rome-servicenow-platform/page/administer/flow-designer/conc...

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response helped in any way 

 

Sohail Khilji
Kilo Patron
Kilo Patron

Dear @Kishor O ,

 

1. As its 24hrs, you can set the trigger to run daily which will execute the flow every 24hrs.

2. Create a ACTION by using script utility and use it in flow to check if any incident is created in last 24hrs by given user.

3. Use if else condition to evaluate if incident is created or not.

4. Use Notification to send the notification on 'no incident creation by given user'.

5. Use 'Create record' action to create the incident.\

 

I hope this helps !

 

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect