Workflow Notification Approval Script
I am trying to approve an open notification using the pl/sql script. I am able to close the open notification however system is not triggering the next notification. Could you please suggest me if I am missing anything in my script.
DECLARE
BEGIN
fnd_global.apps_initialize (9421,51069,201);
mo_global.set_policy_context('S', 101);
WF_NOTIFICATION.SetAttrText(nid => 440564, aname => 'RESULT', avalue => 'APPROVE');
wf_notification.RESPOND(nid => 440564 --in number,
,respond_comment => 'Approved by override program'
,responder => 'User_name'-- in varchar2 default null
);
COMMIT;
END;
/