The CreatorCon Call for Content is officially open! Get started here.

How GlideTransaction.get() code is helping to ACL to work

DS20
Tera Contributor

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 

3 REPLIES 3

Shekhar Deshing
Mega Expert

If you need more information you can go through following community URL

https://community.servicenow.com/community?id=community_question&sys_id=f17f3ea9db58dbc01dcaf3231f961999

 

Hello,

 

  what does this reffering "sys_original" means.

 

Thank you. 

This will consider as Incident older value sys_original