Steps to put a RULE (PFAC) into the User Decision Task
Anyone knows what I shold do to put a Rule (created in PFAC) to run at a User Decision Task?
I have one parameter to the Rule...it enters a document type (BKPF-BLART) and then on the Rule it choose on the Z table the Aproval User related to these type of document.
I have created one FM on SE37, and put the table parameters SWCONT and SWACTOR types.
I made a test into PFAC and it is working correctly, but when I put this rule on the User Decision Task it isn´t returning the users.
Jai SR replied
FM seems to be okay.
Did you checked in your workflow template that your workflow container (doctype) is getting proper value prior to passing to rule?
Just check user decision's Decision tab where you are binding your rule container TPDOC to your workflow container (In SWDD/PFTC)
Also check in PFAC that your rule container TPDOC is importing parameter.
Hope it will help.