How GlideTransaction.get() code is helping to ACL to work
This content was last updated in 2019. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 04:17 AM
How below code is helping to ACL to work.
ACL : Incident.state :-
var transaction = GlideTransaction.get();
answer = (transaction.getRequestParameter("incident.state") == "6" && transaction.getRequestParameter("sys_original.incident.state") != "6")
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 05:35 AM
If you need more information you can go through following community URL
https://community.servicenow.com/community?id=community_question&sys_id=f17f3ea9db58dbc01dcaf3231f961999
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2019 03:12 AM
Hello,
what does this reffering "sys_original" means.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2019 03:51 AM
This will consider as Incident older value sys_original