on 11-02-2010 4:24 PM
Hi Experts,
I used transaction SWI2_DIAG to diagnose the error and tried to restart the workitem manually .The changes were made to Org chart and now everything is fine but I am still getting error message:
Work item could not be found
Workflow 'Post with Clearing Workflow' step number 4: work item could not be created
Agent determination for step '0000000004' failed
Workflow WS93000005 no. 000004806372 activity 0000000004 role 'AC00000168': No agent found
Resolution of rule AC00000168 for task TS93000019: no agent found
Can someone explain what this error message mean and why i cant restart the workitem manually?
Thanks.
Make sure the binding between the task and the rule is correct. Do you know what values are passed to the rule in the workflow? Make sure the correct parameters are populated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is my message from Production:
Resolution of rule AC00000168 for task TS93000019: no agent found
Workflow WS93000005 no. 000004806372 activity 0000000004 role 'AC00000168': No agent found
Agent determination for step '0000000004' failed
Workflow 'Post with Clearing Workflow' step number 4: _work item could not be created_
This is my message from development.. I recreted the scenario and getting different message.
Workflow 'Journal Entry Approval- Approval WF' step number 36: work item could not be created
Agent determination for step '0000000036' failed
Workflow WS93000001 no. 000000986124 activity 0000000036 role 'AC93000003': No agent found
Resolution of rule AC93000003 for task TS00007914: _no agent found_
Edited by: Sergey on Nov 2, 2010 5:05 PM
Hello,
It still looks like the problem is simply that it can't find an agent. Check the workflow log for the exact input to that rule (and check the bindings) and test AC00000168 with those values in tx PFAC.
How is the agent assignment done for that step? Is the Task set to General Task?
As always, check SWU3 and do SWU_OBUF, just in case.
regards
Rick Bakker
hanabi technology
I used transaction SWI2_DIAG to diagnose the error and tried to restart the workitem manually ...The workitems are still in error status and I am still unable to restart them and getting the same error in the log twice every time I try to restart:
Work item started manually after error 11/02/2010 09:58:26 -- with green box on the left
Work item started manually after error 11/02/2010 09:58:26 -- with yellow box on the left
Work item started manually after error 11/02/2010 13:53:44
Work item started manually after error 11/02/2010 13:53:44
When I replicate the same error in development, i am only getting the error once. Do you have any idea why I am geeting the error messge twice?
Thanks.
You have two options to run that function module: either through the rule simulator or directly in SE37.
The rule simulator (you'll find the simulate button when you display the rule 168) can be run in two ways:
- Either pass the OrgManagementObject: the value passed must be the object type concatenated with the object ID. So, for a user, you pass US<user ID> (for a user called ABC, the value will be USABC).
- Or pass both the Object Type and Extended Object ID: the object type will contain what type of object you are passing, it could be US (user), P (person), S (position), O (org unit), etc. The object ID will contain the user name or object ID according to the type you pass.
Calling the function module, you can use the same logic (the simulator ultimately calls this function module). You'll need to fill table AC_CONTAINER with the parameter names and their values. Similar to the simulator, you need to pass a record for each parameter.
- For OrgManagementObject, the element name is ORG_OBJECT and the value is whatever you would pass above
- For Object Type and ID, the elements are OTYPE and OBJID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this one error message? It sounds weird when you get "work item not found" error with "agent resolution error". As far as the agent resolution problem, the rule used to get agents is not returning any. You need to check transaction PFAC to see if rule 00000168 actually returns anything if passed the same set of parameters. Find the parameter list in the container binding screen (also check if the rule binding is correct). You can the run function module SWX_GET_MANAGER which is called ultimately by this rule. You might want to check the org structure and see if the user has a manager in the first place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.