on 09-23-2008 9:51 AM
Hi all,
i am getting the following error when I try to execute my workflow. How do I reslove it?
I think the LAST_AGENT Container element that you have mentioned in agent assignment is not getting populated as the WI_ACTUAL AGENT Container element gets populated by the agent who executes the Task. Now if you are using the same container element value as the agent for that task this will not work. I suggest you to change the agent assignment accordingly.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check along with User id Prefix 'US' is concatenate to send to the agents.
If not assign it.
Regards,
Surjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is exactly the value of the determined agent, this must correspond with the format of the agent:
E.G. if you choose User the value transferred should be US with your logn name SESSC will result in USSESSC
If you choose Organizational unit it should be O with the organizational number.
so I think in your case you determine the user in the format of the logonname, you should concatenate 'US' with the logonname, change the agent assignment to User adn use the containerelement with that values.
Regards, Neslin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the task is classified as General Refresh the buffer using SWU_OBUF and then test. Even if it does not work Logout and login again and then test.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
Specify the Agent assignment in Workitem as General Task.
Hope this would help you.
Good luck
Narin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
can you explain why are you binding "Last_Agent" with WIACTUAL_AGENT and in which step you are doing so?
you need not bind anything to WIACTUAL_AGENT. it will get populated automatically.
you only need to specify the possible agents for a particular task which you have already determined by Expression "Last_Agent".
hi,
ok. are the users getting the WI in their inbox?
if not then i think the problem might be with the determination of possible agents for the task (as Arghdip suggested). possible agents for the task should be defined as General.
how are you specifying the agents for the task? using expression(internal table) or rule or...?
hi,
is LAST_AGENT an internal table?
if yes then when you are populating it with the SAP usernames you need to append US to each username (as neslin suggested).
consider that your internal table has following data.
uname1
uname2
uname3
instead of the above values it should hold values like below.
usuname1
usuname2
usuname3.
-
if it is already in the required format then probably you have not set the possible agents for the Task.
this can be done by double clicking on the activity Step.
goto the "control" tab.
click on the red coloured button in the "task properties" frame.
click on attributes.
select "general". ...(depends on the business requirement)
save it.
activate the workflow.
-
if this too is already done then you might need to synchronise the buffer using transaction 'SWU_OBUF'.
if this too doesnt help then try to log out and log in again.
p.s. - i apologise for spelling Arghadip's name incorrectly in the earlier post.
Edited by: vikram shah on Sep 23, 2008 4:25 PM
apology added.
Hi,
I didn't go thru' all the replies that you got so far. From what i understood, this is what it is.
This error occurs when the agent that you assign at the STep level(called "Responsible Agents") doesn't agree with or not part of the POSSIBLE agents that you specify at the TASK level. So, you either specify ALL the possible users as agents at the task level(go to PFTC in change mode and goto Agent Assignment --->Maintain and you will get to see icon to assign a new user). On the other hand, you can define the task as "General". It's your choice.
Now, you say the step has "Last_AGENT" as Respon. agent. That means, this cont. element is being determined in previous steps, either by direct assignment or thru' Reverse binding from any Previous task(ahead of your task in question) and wflow container. If this is the case, when you complete that pervious task, see in that task's container if the cont. element "_WI_ACTUAL_AGENT" is filled up or not. Also, to be on safe side(if you are novice to wflow), make the cont. element "Last_AGENT" as both Import & Export so that it can take as well as send the values. IF the cont. element "_WI_ACTUAL_AGENT" is getting it's value in the previous step, then your "LAst_Agent" also should get this value.
Also, once you make any changes, make sure you do buffer and, I'd suggest, Logout & login.
Hope this clarifies and do reply if you need more help
venu
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.