Skip to main content

Hello everyone, 

I’m trying to use Action Flow to trigger chained data jobs, meaning job A is executed, once it’s done job B is executed, once it’s done job C is executed. 
Ideally, I would like to launch Data Model Schedule from Action Flow, but I’m only able to launch data jobs and load data model. 

What I’ve done so far is: 

1. Creating json file with all my jobs ID (A,B,C) - Parse Json Module
2. Creating a POST request using API Celonis Key, to access data pool and launch jobs, load data model -    HTTP Make a request Module
3. Using Iterator module to repeat step 2 for all job ID

The issue I’m facing is, job A need to be completed before launching job B and same for job B and C (this is what I’m calling chained data jobs). Configuring a Sleep in the iterator loop greater than the running time of my jobs is working, but not optimized. 

My question is: 

Do you know if there is a way to trigger chained data jobs in Action Flow, meaning triggering Data Model Schedule or launching several jobs at the same time, that put in a queue until the previous one is ended. 

Thank you for your help :) 

Be the first to reply!