Populate Assignment group Asset reclamation task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
I need to auto populate Assignment group in "asset reclamation task" based on the Requested for location managed by group.
This asset reclamation request are raised from a record producer.
Can some one help me to understand on how to implement this requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
From your explanation I understand that based on the location you are assigning different groups. So for example if you have region based group assignment say :- for EMEA region you have countries (Belgium , Netherlands , Sweden) you want to assign group DEMO 1 and for countries like (Dubai , Saudi Arabia) you want to assign DEMO 2 then you will have to make multiple assignment rules.
If you still have more doubts then I would like to know your requirement in a detailed manner.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
To achieve this, you need to write a script that was provided by me previously in the record producer script field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
You can use the following script in the record producer script field
current.assignment_group = producer.requested_for.location.managed_by_group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
@Arun Priya In a ServiceNow record producer script, the current object represents the new record being created, while the producer object refers to the variables of the record producer itself, allowing you to map values from the variables to the new record's fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hello @Arun Priya ,
Have you been able to try my given solution?