Hello All,
I'm wondering if we have any Script Function to Cancel all the sub tasks of a workflow recursively.
Scenario: I've created a Script with Prompt in it which will take the workflow name as input. Now I need to cancel that workflow recursively and deactivate it. I am getting the Runid using GET_UC_OBJECT_NR and cancelling the workflow using CANCEL_UC_OBJECT. However, it's cancelling only the level 1 tasks (Not the tasks of a sub-workflow). I have also observed that, sometimes, the GET_UC_OBJECT_NR is giving previous runid instead of the latest one.
Thanks for your help.
------------------------------
Bharath B
------------------------------