Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a automation which runs for more than 4 hrs so timeout error occurs when it reaches 4 hrs, So inorder to avoid this , I split the same into two automations and want to trigger the second one only of the first one is successful. I used few methods like
- Call Automation block where the first automation does trigger the second automation, but the issue is if the call automation triggers at 3hr 30 min ,the second automation runs for another 1 hour, the first automation times out when it reaches 4 hr and I noticed the first finishes only the second one completes(there is link between the two), but in this case timeout error occurs at 4hr. Is there a way to end the first and start with second.
- Webhooks with RunEnded event works fine but there is an issue where even if the first automation is successful or failed, the second automation is triggered but that should not ideally happen right ,only if the first automation is successful the second one should be triggered.
Has anyone faced these issues? Please help in finding the correct and appropriate approach.
Thanks,
Keer
Hi, there is an article with the configuration needed to chain automations over the 4 hours limit: https://community.qlik.com/t5/Official-Support-Articles/How-to-build-long-running-task-chains-in-Qli...
Hi @Keerthi1234,
Sorry, I forgot about continuing our conversation on the other topic, last week was quite busy:
https://community.qlik.com/t5/Application-Automation/trigger-automation-in-a-task-chaining-way/m-p/2...
In that case you have to check the status of the Automation Run and do something according to the Run Status.
This is the whole diagram:
Run Ended block details:
Get Automation Run block details:
Note: Run Ended > Data > Id is the Id of the Automation Run that triggered this automation.
Condition block details:
Please let me know if that helped.
Regards,
Mark Costa
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
Hi @marksouzacosta ,
Thank you for taking time and responding!!.
I tried this approach it works but after the second automation starts it starts to timeout , not sure why that happens, We are checking on that.
Thanks,
Keer
Please let us know if we can help on your second automation. If so, share the diagram here please.
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
Hi @marksouzacosta ! Thank you !
Actually the second automation throws timeout error due to webhook timeout , it runs only for 15 mins which is default and even cannot increase it further as it is a platform limitation 😞 , We are looking for other ways to achieve the same .
Thanks,
Keer
Hi @Keerthi1234 you can use RUN AUTOMATION Block in your first Automation after your last Block and add a condition whether it is successful or not. Inside the run Automation block use Run Mode as start and continue. If you share your flow, then it would be easier to help you on it properly.