how to retireve case number from case table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 07:59 AM
Hi,
I want to capture newly generated case number from sn_customerservice_case table in ATF after an email inbound action. how should i do that? is it possible to store the value to use it in a different step later.
Thanks in advance for your help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 05:09 AM
Can you share a picture of your current steps and I can advise? I think it might be easier to show you with a recreating in my PDI as I don't think my explanation is landing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 06:09 AM
please share your steps
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 12:18 PM
Here are my steps. i figured it out that part. I had to write a custom step to grab the case number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2025 12:25 PM
And here is the script i used.