on 05-11-2006 5:56 PM
Hi all,
I have the same problem as the one posted below:
>Hi All,
>
>I have created a workflow,in which i am determining >agents by Rule.If we go to transaction 'pfac' and excute >the rule it gives me the required result but after using >the rule in workflow it is not at all giving me any >result ( i.e the workitem is send to all users )I even >tried sending it hardcode values.
>
>Thankx and Regards,
>Prajakta
None of the answers posted solved my problem.
Does any one (especially Mike and Prajakta) have a clear solution to this problem?
Thank you,
Adil.
1. Did you check the Binding from the Task container to ROLE Container ?
2. At the Role level Tcode PFAC In the Role resolution area There is Check box "Terminate if Role resolution has no agent" if that flag is uncheck and the out of Role resolution does not contain any agent , in that case SAP will send workitem to all users.
So you need to check that Check Box.
3. If you are using FM for the role resolution then you can debugg the FM to verify that output of the FM.
Regards
Aman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Aman,
I did check the flag and now the task remain unassigned, because the role doesnt return any agent.
My role take 4 parameters, I execute the role in pfac giving the parameters manually and it works fine. When I execute the workflow for the same parameters, the role doesnt return any agent!
I checked and recheked that the parameters are passed correctly to the WF container and from there to the role container, and it seems to be fine, I checked the container of executed workflows and the container contains the right parameters.
Any ideas!?
Regards,
Adil.
Hi Anwar,
How do i check the binding of workflow to task and task to role.
When i check the workflow in SWDD, the Task appears in the Approve travel request activity, also the binding exists.
I have a feeling that the Task itself is not activated in the workflow and it is taking the old task.
Can u pls tell how i can check whether the workflow is taking the new task.
Regards
PN
Hi PN!
Its very simple to check the binding between the workflow and the task.
Once you double click on the step (Approve travel request), click on the 'control' tab and check the task number. Whatever task number is mentioned here that task will be called. So you can double click on the task and see whether its the new task or not.
Also, on the same page you can check the binding out. Always do a syntax check on the binding to ensure everything is fine.
Inorder to check the binding between the WF and the role you will have to go on to the tab which shows the agent assignment. Just below that you can see the binding as well.
Let me know whether you need any more information.
Regards,
MA.
Hi Anwar,
I did check the binding and it seems to be fine.
If i run the fuinctional module independently, it returns me manager psoition but not in workflow.
I have only wfinitiator passed as org-agent in the container .
1) is it necessary to pass orgid and orgtype
2) Also what wud be the value of wfinitator if i log in as 'XYZ' user ? would it be 'XYZ' user id ?
Regards
PN
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.