Skip to main content
Solved

Trigger a workflow after monitoring project finished


Forum|alt.badge.img+4

Hello, community

I’m currently working on a project which requires a workflow on the runtime server to be triggered after the monitoring project on Ataccama ONE is finished. Can anyone recommend a solution to achieve this? Thank you in advance

Best answer by Maxim Kim

I don’t have exact answer to this, hopefully someone more knowledgeable would share how to do it properly.

I am thinking about Notification Handlers https://support.ataccama.com/home/docs/aip/latest/development-guides/one-runtime-server-development-guide/workflow-and-scheduler/notifications-handler that might be able to do it, but it looks like they are only for events (UPDATE, CREATE, DELETE) of the entity (when monitoring project was updated, created etc). Not sure if there is a way to subscribe for changes such as “monitoring project job is finished”.

Although there might be a way to do it:

You can try to subscribe for the monitoringProjectProcessing entity which is embedded into monitoring project and run a workflow once a new processing is created and then updated with finishedAt for a given MP.

View original
Did this topic help you find an answer to your question?

4 replies

Maxim Kim
Ataccamer
Forum|alt.badge.img+3
  • Ataccamer
  • 33 replies
  • Answer
  • January 8, 2023

I don’t have exact answer to this, hopefully someone more knowledgeable would share how to do it properly.

I am thinking about Notification Handlers https://support.ataccama.com/home/docs/aip/latest/development-guides/one-runtime-server-development-guide/workflow-and-scheduler/notifications-handler that might be able to do it, but it looks like they are only for events (UPDATE, CREATE, DELETE) of the entity (when monitoring project was updated, created etc). Not sure if there is a way to subscribe for changes such as “monitoring project job is finished”.

Although there might be a way to do it:

You can try to subscribe for the monitoringProjectProcessing entity which is embedded into monitoring project and run a workflow once a new processing is created and then updated with finishedAt for a given MP.


Forum|alt.badge.img+4
  • Author
  • Data Pioneer L2
  • 28 replies
  • January 9, 2023

Thank you, Maxim Kim. I’ll check this out 😀


Forum|alt.badge.img+2

Would be interesting to find out. We have MP's which have Post-Processing to write data to our DQ Store.

You could also write to a DB-log table (or file) from a Post_processing job and create the handling from there. So create a ‘watching’ workflow with a ‘wait for SQL Row'.

Let us know what is your approach!


Forum|alt.badge.img+4
  • Author
  • Data Pioneer L2
  • 28 replies
  • January 10, 2023

Thank you for your suggestion, Marnix Wisselaar. However, I would prefer not to have a residual write-out, so I’d probably try the Maxim Kim solution of detecting changes in MMM.

Thank you all for your help


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings