Greetings,
I am facing very strange issue... when I am testing rule 168 in PFAC it is correctly finding manager.
I am correctly binding ORG_OBJECT with &_WF_INITIATOR& in workflow but it fails with exception no agent found. Activity task is also made as general task.
Please see the container value for &_WF_INITIATOR& and it's correctly populated
Also you can see that task is defined as general task
Please suggest what is going wrong what are on HANA 1610. Do we need notes or something I am missing. Please suggest.
Regards,
Tanweer
Failed to identify the issue and found no fix. Strangely found alternative rule 157 working perfectly.
So used rule 157 instead.
Hi,
You have to pass the OTYPE as US and ORG_OBJECT just the syuname with out US.
Thanks,Pavan
Thanks for your input Pavan,
But when I test in pfac just giving user id with US as prefix, It works fine then why not in workflow?
Anyways I will try what you suggested and will let you know.
Regards,
Tanweer
Hi Pavan,
WF_INITIATOR has user id with US as prefix and I checked standard workflow template 20000040 for expense approval and found that standard template also just passes wf_initiator to ORG_OBJECT. I am clueless why this is not working :(
Regards,
Tanweer
Hello,
When I am testing the workflow using transaction SWUS, workflow works perfectly fine. However Agent determination in rule 168 to find manager fails when workflow is triggered after creating expense through Fiori apps. Any idea why this is happening????
Regards,
Tanweer
Hi
Is the Front end user and back end user are same and is it the same user which is getting stored in WF_Initiator when you trigger from fiori app.
I feel there could some difference with the user names with Fiori and backend user name
Thanks, Pavan
Hi,
Can you please also make sure that the user of Fiori lauchpad is also the part of SAP Org unit. Because the rule 168 uses the evaluation path SAP_US_S so it tries to first get the position of the user then it fetches the personnel number.
Thanks, Pavan