How to make comments field mandatory when approval request rejected through List Choice?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2019 03:47 AM
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 10:00 AM
Hi Deepika,
Condition: 'requested'&&(gs.hasRole('approval_admin') || isApprovalMine(current)
Script:
if(!current.comments.isNil()){
current.state='rejected';
current.update();
}
esle{
gs.addInfomessage("Comments are mandatory");
}
Please hit Correct/helpful based on impact.
Thanks
Darshani sambare