Skip to main content
Is it possible to trigger an Action Flow as soon as a data model has finished loading? If not is this feature planned because this would be helpful for a lot of use cases.

Hi Florian,

 

I believe this is not possible. Because you need an event trigger for this. There is only one Celonis trigger for skills. 

 

But you can make a HTTP request with the API: 

 

GET: /integration//api/pools/{{`Data Pool ID`}}/data-models/{{.`Data Model ID`}}/load-history/load-info-sync:

 

Then you get the load history from the data model. With some logic you can start the action flow only with a finished data model load.

 

I hope this helps you. 

Greetings

Linus

 


Hi,

 

More information how to use (how to send http requests to internal celonis API in general) that great insight that Linus provided can be found here, with some python code snippets:

 

https://www.celopeers.com/s/question/0D7070000007O6aCAE/detail?fromEmail=1&s1oid=00D0Y000001eh1n&s1nid=0DB07000000blJi&s1uid=00507000000hhV3&s1ext=0&emkind=chatterCommentNotification&emtm=1665985570277

 

you can schedule python script to check that information once per few minutes, and trigger the data model load - I would advice to use maybe use CRON and console python script?

 

Best regards,

Mateusz Dudek


Hi Florian,

 

you can enable monitoring pool to run the data jobs very frequently. From the monitoring pool Data pipeline monitoring data job is the one which gives you your data model status, also gives extraction and transformation status.

 

Using this data Model - Monitoring pool, you can understand when the data model is complete, based on this you trigger action flow.

 

Thanks

Muthu


Reply