on ‎2015 Mar 25 11:05 AM
Dear Experts,
I am triggering a workflow for some event and I am determining agents by writing some code in business object and exporting that variable to workflow. But my problem is, when agent is not found that workitem will be displayed in all SAP user id's.
I am not able find out the reason, Please suggest.
I am using Fork step before this workitem activity.
Thanks
M Chaitanya
Request clarification before answering.
Hello,
If the task (TS) is General Task (which is normal) then it will go to everyone if no agent is determined.
You have to check your code and see why it returns no agents. At the very least put a check at the end that inserts default agent (e.g. you) if no agents are found.
regards
Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
You have set the approval task as "general task" so WF runtime will determine all users as agents in case no agents are found. You have 2 options to handle this:
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chaitanya,
You have to remove general task and have to select the agent determination as 'General forwarding not allowed'. Then you can restrict the agents based on position/Job/Org unit/Role.
In your case Rule is also a best option. If no agents found, rule will be terminated and will set the workflow status as an error.
Thanks,
Vijay.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.