Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Anyone ever had to disable a Flow using a script?

DrewW
Mega Sage

When we clone we have a scheduled Flow that we need to disable in our subprod instances.  I was thinking of just using a script but I don't see a method for it.

I thought about just marking Active=false in the sys_hub_flow table but was not sure if that was a good plan or not.

 

Has anyone else had to do this?

 

5 REPLIES 5

The Active field is there for a reason. Just like on other tables.