@Subhodeep Chakraborty Thanks for reaching out to us, I am sorry. For v2 pipeline job, it does not support "run_after" feature yet, user may need to write some virtual inputs/outputs to decide the sequence.
The SDK v2 is designed around the concept of data dependencies and uses them to determine the order of execution.
However, there are workarounds that you can use to enforce the order of execution, please have a try.
- Dummy Output: You can create a dummy output in one step and use it as an input to the next step. Even though this data won't be used, it will enforce the order of execution.
- Use PythonScriptStep instead of PythonScriptStepV2:
PythonScriptStep
is still available and supports therun_after
method. This allows you to specify the order of execution without any data dependencies.
I hope this helps. Just for an update, I have shared this feedback to product team, I will update again here if there is any roadmap for adding this feature to V2.
Thanks for sharing the feedback here again.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.