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.