I am trying to pass the execution id of an executed task to the next task. I found the details to perform this action here - StackStorm Runtime — StackStorm 3.4.0 documentation. But for some reason the execution id passed on to the next task is wrong ie it is not the same when i check in UI and the one returned is invalid (when i run $ st2 execution get <execution_id> )
Any pointers on this topic will help. The reason i am trying to do this is so that in the case of failures i can track the failed executions later.