- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2024 09:09 PM
Hi All,
I'm new to ServiceNow. I have a requirement creating new user onboarding via catalog item. I achieved that through workflow.
Now I need to fetch all the ticket created for this catalog item by fetching all its variables and its values. Can anyone help me with the code to fetch all the ticket details of a particular catalog item variable and its values present in it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 01:35 AM
Hi,
Please try to use below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 05:27 AM
Hi @Ramya SL ,
Please use below code for your reference to get all variables of the Requested Item and modify it according to your need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 11:59 PM
Hi,
Now I actually wants to fetch particular field value of a variable name called 'Start Date' and 'Description'
Basically whenever a new user is added to the list we are passing the user is through description feild. So I need to fetch only the user Id value that is present in description.
How can modify your script to fetch only these user id present in description field values and start date field value from all the tickets of catalog item
FYR: I am using the below script for adding the user to the list
How can we fetch a particular field value with the help of above script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 01:35 AM
Hi,
Please try to use below