How to call a system property in ACL?

Anil9
Tera Contributor

Hi Community,

I would like to call a system property in a ACL where i am using the below code:

var gdt = new GlideDateTime(close_date);
gdt.addSeconds(250);

Here instead of giving gdt.addSeconds(250) I want to create a system property and then call it here.

Can someone help?

1 ACCEPTED SOLUTION

Sulabh Garg
Mega Sage
Mega Sage

Hello Anil,

You can mention in like this.

var seconds = gs.getProperty('<System Property name>');
gdt.addSeconds(seconds);

 

Please Mark Correct/helpful, if applicable, Thanks!! 

Regards

Sulabh Garg

Please Mark Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

View solution in original post

3 REPLIES 3

Sulabh Garg
Mega Sage
Mega Sage

Hello Anil,

You can mention in like this.

var seconds = gs.getProperty('<System Property name>');
gdt.addSeconds(seconds);

 

Please Mark Correct/helpful, if applicable, Thanks!! 

Regards

Sulabh Garg

Please Mark Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

Hi Anil,

Please mark the comment as helpful/correct if you were able to solve the concern.

Regards

Sulabh Garg

Please Mark Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

Musab Rasheed
Tera Sage
Tera Sage

Hello Anil,

Paste this in your ACL by declaring a variable and pass 

gs.getProperty('property name'); 

Please hit like and mark my response as correct if that helps
Regards,
Musab