Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

how to retireve case number from case table

SyydQ
Tera Contributor

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.

 

 

8 REPLIES 8

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

Ankur Bawiskar
Tera Patron

@SyydQ 

please share your steps

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

 

Here are my steps. i figured it out that part. I had to write a custom step to grab the case number.

 

SyydQ_0-1740773760426.png

 

 

 

SyydQ
Tera Contributor

And here is the script i used.

 

SyydQ_0-1740774249782.png