Button functionality
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 08:35 AM
Hi!
What i need to do in order to achieve the following:
1. When the button 'reject' is clicked a field 'reason' shows and is mandatory
2. When 'reason' is filled in and we click again 'reject' amount value changes to 0 and we exit the form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 09:04 AM
Hi @hadron_collider ,
In UI action "Reject", valid the scenarios with "Reason" field.
If the reason field is empty, make it as mandatory. If not, clear the amount value.
Reference: https://servicenowguru.com/system-ui/ui-actions-system-ui/client-server-code-ui-action/
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Sujatha
Sujatha V.M.