How to get the dot walking field value on workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 01:04 AM - edited 09-18-2023 01:05 AM
Hello All,
When i try to dot-walk one custom (list collector) field, which is created on change request.
I try to dot-walk that field it is not working. The field is list collector which is referencing cmdb_ci_appl table.
I want to fetch the assignment group by dot working, but it is not working.
Requirement: Given that one or more Impacted CIs are selected, then approval is requested from the SDM and Manager of the Support group of the Impacted Services / CI(s). Approval is only required from either the SDM or Manager of the group (first to approve). This approval should happen in the ASSESS state.
Below code is script include:
==============
Thank you all in advance
@Maik Skoddow @Ankur Bawiskar @Samaksh Wani @SwarnadeepNandy @Palani Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 01:27 AM
you cannot dot walk list field.
you need to query the sysIds and then get the field value from that record?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 01:35 AM
@Ankur Bawiskar How to query the sysIds and then get the field value from that record?
Can you provide the code or any sample examples do you have?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 02:06 AM
list field is nothing but list of sysIds
get that and query the table which is being referred by that list field and do whatever processing you want
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 02:10 AM
@Ankur Bawiskar , This is list collector field "u_critical_impacted_services_cis" refering CMDB_CI_APPL table created on change request.
But i want to get the support group manager details of the ci, which support_group field is present on cmdb_ci_appl.
How to achieve this requirement?