Can we Use UserId name in system property as a value?

sattar3
Tera Contributor

Hello All,

 

I created a system property in that i copied the userid as a Value.

and I used the system property in Business Rule and it is working fine.

Will it cause any issue in future? please help me on this.

 

@Ankur Bawiskar @SANDEEP28 

 

Thanks,

Abdul.

7 REPLIES 7

@Mark Roethof  Thanks for the reply.

Whenever Mid Server is down we need to create an incident. In that they given a called_id name that's why i used the userid in the Business Rule.

 

Thanks.

Ah that makes it more clear.

 

Could work, if the userid ever needs to be updated you can just do so in the system property, and perhaps you can use the same system property in different places in your instance also, good for manageability.

 

You might also see other approaches, like using templates, lookups, etc.. Though there's no reason this could work, and like I mentioned not strange from manageability point of view.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Aman Kumar S
Kilo Patron

Hi @sattar3 

Its alright if you are using the system property for this purpose.

But make sure this value shouldn't change very often as it has performance impact, but as far as this use case goes, its absolutely fine.

 

Best Regards
Aman Kumar