- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 01:56 PM
Hello,
In ATF module, I created a test to test the record producer "Create incident" available on the PDI :
And of course I created a step to impersonate an itil user, a step to access the Record Producer, another step to fill the fields, and another step to submit the record producer :
Now, after submitting the RP : the incident is created and it is displayed with an ID on the portal : and I want to create a step that retrives this ID : for exp : INC0010006 : but I didn't know which step can do that ! does please someone know which step allows to get the ID displayed in the portal ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 08:02 PM
Hi @yasserbouat
I don't think you can query the record using the number. Instead, you can use the document_id from the 'Submit Record Producer (SP)' step.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 08:02 PM
Hi @yasserbouat
I don't think you can query the record using the number. Instead, you can use the document_id from the 'Submit Record Producer (SP)' step.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 08:16 PM
why you wish to get the INC?
When you submit the record producer you already know the sysId of the target record
You can simply open that record with the output from previous step
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader