Declare Trigger on Assign- not working when routing to same pxObjClass
I have a requirement where i need to capture the entire life cycle of the work object to which work list or work basket it has been routed to. Hence, i have created a Declare Trigger rule on Deleted instance. Issue is when am trying to route the work object from either ( one Work list to another Work list) or ( one Work basket to another Work basket), rule is not getting triggered. Whereas trigger rule is working when work object is being routed from Work list to work basket and work basket to work list. Declare trigger is created in Assign- class. some one help me in resolving this issue
I'm not sure of the specific routing path in your case but I looked at the Reassign activity as an example. In the Reassign activity, the original assignment is deleted when going from workbasket to worklist. If going from one worklist to another though, the assignment details are just modified. It seems this may be why your Declare Trigger is not firing in all of the scenarios.