Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
NewbieQlik
Contributor III
Contributor III

EM API for enabling and disabling compose workflow schedule

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.

Labels (4)
3 Replies
shashi_holla
Support
Support

@NewbieQlik 

If you are referring to running and stopping a workflow then yes we have APIs:

https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_A...

https://help.qlik.com/en-US/enterprise-manager/May2022/Content/EnterpriseManager/EnterpriseManager_A...

 

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,

NewbieQlik
Contributor III
Contributor III
Author

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.

shashi_holla
Support
Support

@NewbieQlik 

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,