on 08-05-2009 10:40 AM
Hello Friends,
We have built a complex approval JE workflow . We are using the &_WORKITEM.TOPFLOW& container to obtain the workitem( main ) and pass it to the relevant tasks at diferent steps. But , the value is getting reset to 0000000 at a particular step .
i.e.., I am able to retrive the top workitem ID at various levels , But at a later step , &_WORKITEM.TOPFLOW& value is becoming 0000000 . So this is causing an issue .
You have any idea why this is happening ?
thanks
Raghu V
You can use FM SWP_TOP_LEVEL_WORKFLOW_GET to retrieve the Top Wi_ID and store this in a container element.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to read WORKITEM FATHER not topflow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Raghunandan,
I have used a simple container element "Flowitem" to store the top-workflow-ID after the creation with a container operation. As that ID will never change again through the workflow you'll have no bother about loosing the ID again for some reasons.
It worked fine for me.
Best wishes,
Florin
P.S.: At the TOP-Level workflow I have used FlowItem = &_WORKITEM.WORKITEMID& to get the Flowitem's ID
Edited by: Florin Wach on Aug 5, 2009 12:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.