executetask returns a custom status code

Posted about 2 years ago by Emma Camacho

Post a topic
Deferred
Emma Camacho
Emma Camacho Admin

I'm calling MD tasks using the executetask api using POST. When the task is succesfull it returns status code 2. this is all great.


I would like the possibility to return any custom status code. My proposition is to use the 'stop execution' action. Add a non-required field called 'Return Status Code' where you can put an integer. 

 

My use case: based on which status MD returns, i sometimes want to make a different api call in my external scheduling software. Currently all i have is succes and fail which is not enough.

0 Votes


0 Comments

Login or Sign up to post a comment