Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Can we run a flow twice when the trigger is scheduled as weekly?

Irene M
Tera Contributor

Hi guys!


Is it possible to run a flow twice when it's scheduled as weekly?

 

We want the flow to run Weekly, every Monday. The first run is at 5AM and the next run is at 12noon. Is that possible?

FLOW DESIGN.png

 

3 REPLIES 3

Ravi Chandra_K
Kilo Patron

Hello @Irene M 

There is no OOB flow configuration that'll make the flow trigger twice 

The best option would be create an additional scheduled job that triggers at 5am, and call the flow from that Job 

Refer below thread:

https://www.servicenow.com/community/developer-forum/calling-a-flow-from-a-scheduled-job/m-p/2530463

 

Please Mark this answer as helpful and correct if helped.

Kind Regards,

Ravi Chandra 

Ravi Chandra_K
Kilo Patron

Hello @Irene M 

Were you able to achieve this requirement.

 

 

Please Mark this answer as helpful and correct if helped.

 

Kind Regards,

Ravi Chandra 

RathanaC9535034
Tera Contributor

The best method for this would be to create a new Trigger in Flow Designer:

RathanaC9535034_0-1790183355934.png

RathanaC9535034_1-1790183410739.png

 

From there you'll be able to select the type of trigger you want, being a scheduled trigger you'll choose "Recurrence":

RathanaC9535034_2-1790183486738.png

 

Continue Building your trigger, from here you'll choose business calendar and select the business calendar that you want to tailor it after.  You'll need to create the business calendar with the availability you want, but I assume you've already setup business calendar already.

 

Create a scheduled trigger using business calendar • Australia Build workflows • Docs | ServiceNow