cancel
Showing results for 
Search instead for 
Did you mean: 

Agent determination getting failed for one particular scenerio

venkat_o
Active Contributor
0 Kudos
72

Hi,

I am working on production workflow issue. Production system is cluster of hospitals for HR system. Staff applies leave from hospital A by keeping approver from hospital B. Workflow is triggering. The problem is work item is not getting placed in Approver inbox.

So when work item is not placed in approver inbox, We have done following things.

<li> We have run transaction SWI1_RULE to fix missing agent. This can be used to re-trigger complex user determination.

After running the t.code, Work item was placed in approver inbox.

  1. But Staff complained again when he got same problem next time when leave was applied.

<li> This time we have run transactions SWU_OBUF to refresh workflow buffer(Suggested in forum) and SWI1_RULE to fix missing agent. After running these t.codes, Work item was placed in approver inbox.

  1. But Staff complained again when he got same problem next time when leave was applied. We died this time.

Could you please tell me what kind of R&D we need to do ? By the way, this is customized Leave workflow.

Thanks

Venkat.O

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185167
Active Contributor
0 Kudos

Hello,

Look in the workflow log (SWI1), it will tell you exactly how and why.

regards

Rick Bakker

hanabi technology

venkat_o
Active Contributor
0 Kudos

Hi Rick,

I have been seeing the below message from the day user complained about the issue.

>Agent determination for step '0000000054' failed - Result of agent resolution does not agree with agents of task.

Regards,

Venkat.

former_member188827
Active Contributor
0 Kudos

This message indicates that you have maintained possible agents in your task and the rule result returns a different agent. Please delete agent assignment from task(PFTC) and let rule determine the possible agent.

former_member185167
Active Contributor
0 Kudos

Hello,

Okay, that's your problem. FInd out how the agents are determined. Look at the inputs to the rule or method and find out where it's going wrong. How are they determined?

I don't understand how SWI1_RULE seems to fix this.

regards

Rick Bakker

hanabi technology