Run flow only on Demand via script

ShAn21
Tera Guru

Hi Folks,

 

Is there any way we can put trigger conditions so that it never triggers by itself but only via script?

I dont wanna use 'Run Once' option. Is there any way?

 

Can we keep a flow in draft and then run via script? Is that possible or ay best practice constraints?

 

Thanks

1 ACCEPTED SOLUTION

I think the best way is to create a subflow as it does not have trigger condition and then call it in fix script.

 

Thanks

View solution in original post

6 REPLIES 6

I think the best way is to create a subflow as it does not have trigger condition and then call it in fix script.

 

Thanks

Sandeep Rajput
Tera Patron
Tera Patron

Please refer to this URL https://www.servicenow.com/community/now-platform-forum/triggering-a-flow-with-inputs-from-a-script/... to know about the steps to trigger a flow via script.