I have a parent workflow with WF_PRIORITY set to '1'(Highest Priority). that consist of another child workflow with set to priority 5(Lowest Priority).
As per requirement child workflow should not execute with highest priority, For that in task we have set dynamic coding to set new priority for the task to execute in another priority. But task in child workflow doesn't execute with new dynamic priority, it is executing by priority 1 itself which has with parent workflow.
In Change priority task i have been assigned with method and dynamic priority set by function module 'SWW_WI_PRIORITY_CHANGE'.
Could you please guide me that how to resolve that problem? And how i can able to set dynamic priority for child workflow?