Thursday, 23 June 2011

Workflow Run In Backend Script

declare
begin
INV_WF_DEMO.LAUNCH_WORKFLOW ('INV_DEMO',
inv_wf_seq.nextval,
'INV_WF_PROCESS',
391955,
204,
'A2 DOM');
exception
when others then
dbms_output.put_line('Error:' || sqlerrm);
end;

price_list_wf_demo


declare
p_result VARCHAR2(1000);
begin
--price_list_wf_demo.update_reject_status('NEWPLIST',22,33223,p_result);
PRICE_LIST_WF_DEMO.UPDATE_REJECT_STATUS('NEWPLIST',61, 799821,'RUN',p_result);
exception
when others then
dbms_output.put_line('Error:' || sqlerrm);
end;

No comments:

Post a Comment