cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

workflow error:Agent assignment

former_member249671
Participant
0 Likes
1,300

Hi All,

I am running a program which uploads files from presentation server.For each uploaded file ,each workflow will be triggered using FM SAP_WAPI_START_WORKFLOW. Inside the step of a workflow,we have used Rule with responsibilities to identify an agent.From past few days whenever the program runs for multiple files ,every simultaneous workflow goes to error and in log it shows as rule unable to fetch agents.

suppose if i upload 5 files: for 1,3,5 workflow will be Inprocess and 2,4 is in error. if i run the program for each file separately,it is running successfully.I could successfully restart the error ed ones from SWPR. when I simulate the rule ,agents are showing up successfully.

This issue only occurs in Pre-production currently and doesn't show up in quality server also.

can any one advise,why error occurs for every other document even though agents are maintained correctly?

please refer attachment for error

View Entire Topic
Former Member
0 Likes

Hello,

This is very strange. (What's equally strange is you blacking out the number of the AC rule, but anyway...)

If you run the same file again after removing the first line, do the same ones go into error?

How are the agents determined - responsibility rule, function module?

regards

Rick

former_member249671
Participant
0 Likes

Hi Rick,

Agents are determined by rule-responsibility.Only workflow is errored out for every other file .Even I ran in debugging still the error has come for every other document.

Thank you.