How to implement an Alert in Change Request?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 10:25 PM
Hi,
How to implement an Alert in Standard Change Request only when state changes to "Implement"?
I need to reminder the requestor to add an attachment. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 11:05 PM
Assuming attachments could have been added prior to the state that you are requesting for.
You just need an alert to remind that an attachment needs to be added in that state or check if there are any attachments on the record and alert again?
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 11:19 PM
Hi @Sujatha V M ,
I need to check an attachment on the "Implement" status, if not, display the Alert.
Here is the code I have tried, but it is failing, because I don't think I can use 'current" in client scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 11:23 PM - edited 03-27-2024 11:24 PM
No you shouldn't use "Current" in Client scripts. If you want retrieve a server side value use GlideAjax.
Note: I would request you go with "Script Include" and avoid using GlideRecord in client scripts.
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 11:26 PM
Can we modify the code to make it works in Client Scripts or I have to use GlideAjax in this case?