Anda di halaman 1dari 1

Rejection reason mandatory in oracle workflow

l_nid := wf_engine.context_nid;
v_response_reason := wf_notification.getattrtext(l_nid,'XXWF_NOTE'); -- my response
attribute
v_result := WF_NOTIFICATION.GETATTRTEXT(L_NID, 'RESULT'); -- my result lookup
(approve / reject)
IF v_result = 'REJECTED' THEN
IF v_response_reason IS NULL THEN
RESULT := 'ERROR: You must enter Rejection Reason.';
RETURN;
END IF;
END IF;

Anda mungkin juga menyukai