Code for Making a field or Response box mandatory in Workflow


Below is the code that will check the workflow for mandatory of response field.

Here the p_funcmode = ‘VALIDATE’ sets in validate mode and after handling the validation the we can set the appropriate message in the this line

x_resultout := ‘ERROR:You Must the Reason’;

 

if( p_funcmode = ‘VALIDATE’) then
l_nid := wf_engine.context_nid;
v_result :=wf_notification.getattrtext (l_nid, ‘APPROVE_COMMENTS’);
if(v_result is null)
then
x_resultout := ‘ERROR:You Must the Reason’;
end if;
end if;

About pacesettergraam

A good and realistic person

Posted on November 17, 2016, in OAF, Oracle, oracle apps and tagged , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: