How to create system properties?

Shashi K
Tera Contributor

create a new system property to store 50+ assignment group sys id. And how to add OLA to this assignment groups.

 

table: Incident 

2 ACCEPTED SOLUTIONS

H_9
Giga Guru

Hi Shashi,

You can create a record in sys_properties table with type as "String" and store the sysids comma separated.

You can access this property by using gs.getProperty(<propertyName>) and then you will have to split it to convert this string to array so that you will be able to access the sysids by itereting the array.

 

var str = gs.getProperty(<propertyName>);

var arr = str.split(",");

Then apply for loop for accessing each sysid from the array.

 

About OLA:

There is no technical difference in SLA and OLA. You just have to create an SLA and set the type as OLA.

You can use the following link to check how to create it and just set the type as OLA.

 

Please mark the answer correct if it helps. 🙂

Thanks. 🙂

View solution in original post

Tony Chatfield1
Kilo Patron

This post is related to 2 others you have created in the last hour.

In the first one, after I answered it, you removed most of your comments to make it less understandable than it was.

 

Your question\requirement is not clear.
If you post clear details of your requirement in 1 thread, the forum would be in a position to assist you.

View solution in original post

2 REPLIES 2

H_9
Giga Guru

Hi Shashi,

You can create a record in sys_properties table with type as "String" and store the sysids comma separated.

You can access this property by using gs.getProperty(<propertyName>) and then you will have to split it to convert this string to array so that you will be able to access the sysids by itereting the array.

 

var str = gs.getProperty(<propertyName>);

var arr = str.split(",");

Then apply for loop for accessing each sysid from the array.

 

About OLA:

There is no technical difference in SLA and OLA. You just have to create an SLA and set the type as OLA.

You can use the following link to check how to create it and just set the type as OLA.

 

Please mark the answer correct if it helps. 🙂

Thanks. 🙂

Tony Chatfield1
Kilo Patron

This post is related to 2 others you have created in the last hour.

In the first one, after I answered it, you removed most of your comments to make it less understandable than it was.

 

Your question\requirement is not clear.
If you post clear details of your requirement in 1 thread, the forum would be in a position to assist you.