cancel
Showing results for 
Search instead for 
Did you mean: 

Workitem arrives to previous agent.

francisco_asensio
Participant
0 Kudos

Hello,

I have a custom workflow with some levels of approve. My problem is that in the second level of approve the workitem apperar to the first level agent too, even when in the workflow log only the correct agent appear.

I have tested the rule that determine the agent and work fine.

Anyone has any idea of why happen that?

Thanks a lot in advance.

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

KKilhavn
Active Contributor
0 Kudos

> Anyone has any idea of why happen that?

>

The agent of the first step is perhaps a substitute for the agent of the second step. When you say "appear" I assume you mean appears in the workflow inbox.

francisco_asensio
Participant
0 Kudos

Hello,

Thanks Florin for your help, but Kjetil was rigth, the user was added as substitute.

What I surprise is why SAP do not include the substitutes to the Log of the Workflow until they get into the workitem.

Thanks all for your help...(and points for all).

Regards

Answers (3)

Answers (3)

former_member184112
Active Contributor
0 Kudos

Hi,

Can you explain which Rule you are using standard or Custom.

Thanks and Regards,

Prabhakar Dharmala

Former Member
0 Kudos

Do a binding from WI_ACTUAL Agent to a container element in the first approval step and put this container element in the excluded agent list of the 2nd approval.

Anuj´s suggestion is fine.

Thanks

Arghadip

francisco_asensio
Participant
0 Kudos

Thanks Arghadip and Anju for the hep, but it is not working.

I think your workarround is not workng since the first agent do not appear in the list of actual agents of the second call of the decision step in the log of the Workflow.

What more surprise me is that I have some background task between the two calls of the task.

Regards.

Former Member
0 Kudos

Hi Francisco,

would you please check:

- If the work item is even assigned to more than those two users involved (which would indicate that there's something wrong with the agent assignment on task level).

- The entries in table SWWUSERWI of the particular workitem ID and see if the first agent has an entry there, and which entries you exactly have.

I think this information would be helpful to further look at the problem.

Best regards,

Florin

Former Member
0 Kudos

Well I think putting first agent in excluded agent of second agent should help you. Just put the first agent in some sort of variable and use that variable in the excluded agent field in the second step.

Hope this helped u !

regards,

Anuj Sethi