- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2015 07:39 AM
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!
Solved! Go to Solution.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2015 09:30 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2015 09:30 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2015 10:00 AM
Thanks for the first step. But what next?
How do I assign this variable (Prop) to the task.assignment_group field?
task.assignment_group = Prop.getDisplayValue();?
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2015 10:00 AM
This should be
task.assignment_group = Prop;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2015 10:09 AM
That works. Thanks Pradeep. Appreciate your help
Take care.