Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UWL User decision note mandatory


Hi Experts,

In my UWL config, i want approval and rejection comments mandatory....
Currently only Rejection is working a mandatory.


How to modify the below XML to make approval also mandatory ?
Can i change value="true" to value="mandatory" ?


<Actions>
<Action name="approve" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="1"/>
<Property name="UserDecisionTitle" value="Enter Approval or Rejection Comment please"/>
<Property name="UserDecisionNote" value="true"/>
</Properties>
<Descriptions default="Approve"/>
</Action>
<Action name="reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="decisionKey" value="2"/>
<Property name="UserDecisionTitle" value="Enter Approval or Rejection Comment please"/>
<Property name="UserDecisionNote" value="mandatory"/>
</Properties>
<Descriptions default="Reject"/>
</Action>
</Actions>

Please help...

Thanks & Regards,
Shiva

Former Member
Former Member replied

True will just allow you to manually attach a note by clicking on add note in work item,while mandatory will check for any rejection/approval comments note is attatched or not...Since you want comments must on both approve and reject keep it mandatory.

If you want to test then put a external break point in XML and execute workitem,before clicking approve or reject click on add note the value will be true and if u make mandatory it will ask for note attachment for comments.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question