Jay Vercellone
03/07/2021, 11:40 PMset_schedule_active
parameter that can be specified to the .register()
call in order to automatically enable or disable the scheduling of the new flow version.
These values can be either True
(enable the scheduling) or False
(disable the scheduling), but there's no option to "leave it as it is right now", meaning that if the flow is active/inactive, the new registration should leave the new workflow as active/inactive as well.
What's the best approach in this scenario? I want to avoid 2 potentially dangerous situations:
- Accidentally enabling a flow that should remain disabled
- Accidentally disabling a flow that should remain enabled
Avoiding any specification in the code would be ideal, since we don't want to enable or disable flows using the code, but rather the UI/API.
Thanks!Chris White
None
to signify “just keep things as they are”. Would you mind opening an enhancement request describing your setup?Chris White
Jay Vercellone
03/08/2021, 3:32 AMNone
and False
will both disable the flow, even if it was previously enabled via the UI.Jay Vercellone
03/08/2021, 3:33 AMChris White