cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Subscribe

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

0 Likes
View Entire Topic
SandySingh
Active Contributor
0 Likes

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:

  1. All the set a fall back agents in agent determination rule. You can set WF-Admin (User, Position) as fall back agents in case no agents are found.
  2. You can raise an exception in agent determination method and the workitem will go in error and will be picked up the WF admin for error resolution.


Regards

Sandy