on 2011 Dec 21 6:16 AM
Hi experts,
In my workflow scenario, I have to send mail to multiple agents, that working fine. My problem is, if any of the agents executes the workitem from his sap inbox, the mail get deleted from the inbox of all the agents, which should not happen. Only the agent who execute the workitem, mail should be deleted from his inbox only.
Can any one help me on this please??
Hello,
There is STEP TYPE " Block". You can use the same for your requirement. You can use dynamic parallel processing or sequential processing for the same.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That is the standard behaviour of SAP Workitem. IF you want to keep teh workitem in his inbox then you should make use of Dynamic Parallel processing with a multiline container element which is availabel in the MIscellaneous tab,
All teh agents for whom you are sending the mail populate all teh user in a multiline container element and then assign this element in this field , once you do this a internal <CONATINER ELEMENT NAME>_LINE element will be created by the system, you assign this element in the Agents using EXPRESSION under control tab.
THis will dynamycally create parallel branches based on the number of agents populated in the mulitline container element. In this way you can make sure that the agents are having the workitem for each.
Regards
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavan,
Thanks for your reply,
Can you please tell me how exactly I can do this??
Here I am using a Rule to determine agents, in decision tab i have selected Rule. I have created a multiline container element and assigned it to Dynamic Parallel processing with a multiline container element, but i can not find EXPRESSION under control tab, and I can not use expression in decision tab because I am using Rule, so how can i achieve this??
Just to make things clear: when you are using dynamic parallel processing, you will create different work item for every users, which is exactly what you want. Before every user had the same work item, and when someone executed it, it got completed and thus disappeared from inbox of everyone.
Basically you need to populate the mutiline container element preferably with the agents in a separate step. Now you can use this multiline element to divide the workflow into parallel "instances" depending on how many agents you have in the container element.
Next, you cannot use your rule anymore. Instead you could use an expression (instead of the rule) in the agent determination, and the expression must be a row of your multiline element containing the agent.
Regards,
Karri
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.