Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
Just wanted to know can we use EM API to enable and disable the compose workflow? if yes which API method can use for this requirement.
If you are referring to running and stopping a workflow then yes we have APIs:
But don't think there is an option to disable the workflow, Are you referring to enable and disable the workflow schedule? Please let me know.
Thank you,
Yes I am looking for enable and disable the workflow schedule using EM API. We have two workflow one runs every 15 mits and the second one is end of the day workflow which we wanted to start at 10.30 PM. So at 10.00 PM we should disable the schedule for the first workflow wait for 30 mits and kick off the second workflow at 10.30.
Once we are done with the second workflow execution we again need to enable the schedule for the first workflow.
I would suggest the following approach:
-> First workflow to be scheduled using cron format to run every 15 mins between 12 AM and 10 PM daily
-> Daily schedule for 2nd workflow to run at 10:30 PM
-> Have second cron format schedule for first workflow to run every 15 mins between 11 PM and 12 AM daily or use the RunTask EM API for the 4 runs during the one-hour window.
Thank you,