Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

PR Workflow wf pur rejo WS65400029 - Rejecting Agent in Container

$
0
0

We launched Workflow wf_req_rel_c and wf_pur_rejo WS65400029 successfully. But we have one additional request: to inform the Agent of WS65400029 about who has rejected the PR. This means the actual Agent of wf_req_rel_c is requested to be displayed in workitem text of wf_pur_rejo. The Problems starts with the fact that this are two different Workflows with no shared Container. We had different ideas to solve the issue, but None of them did really work: a) to propagate the Container element 'actual_agent' via Parameter of Event BUS2105 - Rejection_Start - but there are no visible Parameters in this Event - We could think about creating a ZBUS2105, add a Parameter to the Event and delegate to this Bus Class. b1) to write a "Bypass" table ZCA_SW_ACT_AGENT in program Exit of workflow wf_req_rel_c - we suceeded so far b2) to read this table in a data flow using a Business class in workflow wf_pur_rejo %ZCL_WF_USER.GET_REJ_AGENT(OBJID=&REQUISITONHEA DER.NUMBER&)% - we did not succeed with this issue since this is running in tRFC I have no idea how to debug this data flow method call We find the Agent for wf_pur_rejo by reading the last but one entry in this Bypass table - this works fine. This is the last Person who released the highest release Level before being rejected. c) to read the Container of the "Father workitem" using the data field 'WorkitemFather' in the Container of wf_pur_rejo. Is there a class (e.g. CL_SWF_CNT_* ) to read the external Container: Please help to find an idea to solve this Problem with Minimum effort. Best thanks in advance Dieter


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>