Hello,
Normally, our
system of tokens could be passed as arguments to the step type. However, current step ID is not one of those, so we'll have to use our
Python API. I recommend running your GP tool as a python tool to make use of the currentSteps property to obtain the current step ID and the ID property to retrieve the job ID. You would then just need to pass these as parameters to the tool you are trying to execute.
Let me know if you have further questions.
Thanks!
Sam