- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 12:47 PM
hi all
When I select the UI form button fore cancel change, a reason field displays where I can enter reason for cancelling the change, I did like to auto populate this reason to the close note so I dont have to re-enter in upon canceling
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 07:15 PM
Hi @Malo
Please replace with the reason with the work_notes and test the code. It will work for sure.
Murthy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 01:01 PM
Hi @Malo,
Best practice would be not to modify that ootb UI action, instead you can create a business rule to update close note after your state of change is "cancelled".
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 01:03 PM
Can you assist with the BR
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 01:16 PM
Hello @Malo ,
Write a Before BR with conditions when state is cancelled
in Advanced section write script as
current. close_note = current.reason field;
Marked it Helpful if solved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 02:16 PM
I did tha but it does not work