How to open and update a Catalog Task using ATF

BrunoPer
Tera Contributor

I'm looking to run a full E2E ATF in one of my Service Requests, but I seem not to be able to locate the relevant Catalog Tasks (under RITM and REQ). Ideally, I should
1) locate this unique SCTASK;
2)assign it to a user and an assignment group;
3)write a note
4)update the status so it gets completed

These are my test steps so far:

BrunoPer_0-1766426582824.png

BrunoPer_2-1766426726648.png

 

 

Best Regards

1 ACCEPTED SOLUTION

Shaqeel
Mega Sage

Hi @BrunoPer 

 

In step 10, use open catalog task with step 9 not 5.

It will work.

Alternative way:

In step 7 you have successfully opened Request record.

Use filter list to open RITM first and then task.'

 

 


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

View solution in original post

6 REPLIES 6

Sardash
Giga Guru

@BrunoPer  -

Please follow below steps -

1. Please add 'Record Validation' Step after Step no 8. Give reference of 'Step no 7' under 'Record' field on Record Validation step (Table should be Requested Item)

2. On Step 9, condition is added wrong. Please add condition - 'Request' is 'Step no 5'

3. Please add 'Record Validation' Step after Step no 9. Give reference of previous step under 'Record' field on Record Validation step (Table should be Catalog Task)

4. On Step 10 , condition is added wrong. Give reference of previous step under 'Record' field 

-------------------------------------------------------------------------------------------------------------------------------------------------

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."

 

 

Ankur Bawiskar
Tera Patron

@BrunoPer 

your step is failing to open sc_task Record

Did you check the user you are impersonating has correct role to view sc_task?

how about testing with admin role?

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur, I think this was not the case. Thanks for your help anyway!

Hemanth M1
Giga Sage

Hi @BrunoPer ,

 

You need to use the ID from step number 9 in step number 10 (something like: open sc_task where request_item is the ID from step number 9).

 

It seems you are using the sc_request ID to fetch the sc_task record.

 

Hope this helps!

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025