WF_ENGINE.CreateProcess help needed
I am trying to run the REQAPPRV workflow from a pl/sql package. I use the WF_ENGINE.CreateProcess
and then the WF_ENGINE.StartProcess as is shown below.
WF_ENGINE.createProcess('REQAPPRV', tmpRec.requisition_header_id, 'MAIN_REQAPPRV_PROCESS'); WF_ENGINE.startProcess('REQAPPRV', tmpRec.requisition_header_id); The workflow is failing on verify requisition with the following error: "Wf_Engine_Util.Function_Call(PO_REQAPPROVAL_ACTION.STATE_CHECK_APPROVE,REQAPPRV,569939,93584,RUN)" I don't know if I need to set some attributes before calling StartProcess. Can anyone tell me what attributes need to be set for the workflow to run? Any help would be appreciated. Thanks Cathy P0