need to get HR case number created using Record Insert

PraveenaD
Kilo Explorer

Using ATF, I have created an HR case in sn_hr_core_case table using Record Insert step . 

I need the HR case number & Created date to validate in further steps. 

I have also tried Record Query, which gives me only the sys ID of the HR case record created. I need HR case number & created date. Can anyone help me?

 

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @PraveenaD 

 

Refer:

How do I get case number from record in ATF? 

 

Also check

https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/success/quick-answer/...

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Ankur Bawiskar
Tera Patron

@PraveenaD 

the only option is to use Custom step

I shared solution back in 2022 for this, check and enhance

How do I get case number from record in ATF? 

55.png

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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