How to call a system property in the catalog task within a workflow?

munwala
Kilo Contributor

Hi all,

I am new to the Service-Now practice and would really appreciate anyone's help here.

This is what I am willing to accomplish here:

I have a system property created with the sys_id of one of the fulfillment group. I want to call this system property in the catalog task within a workflow for a service request to fill in the 'Assignment group' in the task.

All I know is that I have to use the gs.getProperty(); method somewhere in the script block within the catalog task to populate the assignment group in the task.

I hope this make sense.

Any help would be appreciated.

Thank you!

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Mohammed,



You are on right track. You can pull the value as.


var Prop = gs.getProperty("YOUR PROPERTY NAME");



Please let me know if you have any questions.


View solution in original post

5 REPLIES 5

Perfect


I am glad I can be helpful to you.