ATF to reopen incident from Service Portal Page

Nafeesa bashir
Tera Contributor

Hi

 

I want to create an ATF test where using the ATF test i go to my tickets in the Service Portal, open any of the closed incident which i had created and to click on an action to reopen the incident. i want to be able to click on reopen incident action from service portal. Screenshot attached for more clarity. Is this possible?

Nafeesabashir_0-1686143447900.png

 

10 REPLIES 10

Nafeesa bashir
Tera Contributor

@Ankur Bawiskar 

 

I want to be able to query on the incident which is dynamically generated before i open the service portal page. So i generated incident using the ATF and resolved it and after resolving it, i want to open the same incident from the Service portal. In your comment, you have manually provided the sys id of that particular incident. How do i provide the sys id of the incident generated in the before steps?

 

Nafeesabashir_0-1686206687063.png

 

 

Nafeesabashir_2-1686206769645.png

 

@Nafeesa bashir 

Output of Submit record producer will be the record sysId

So use that output to set sys_id parameter.

just click on that data pill and expand it and give output of Step 4

Ensure for the step where you are opening the Record in portal give some timeout of 10seconds

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

Nafeesa bashir
Tera Contributor

I tried doing the below test step but it doesn't open the required Call. It only opens the page with the list of submitted calls but not the particular call.

Nafeesabashir_0-1686209546807.png

It just opens page like the below but not the particular call ticket

Nafeesabashir_1-1686209680961.png

 

@Nafeesa bashir 

are you sure you are opening the correct portal page in correct portal?

are you sure the table name is u_call?

it worked for me as I informed earlier

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

Nafeesa bashir
Tera Contributor

Yes i am opening the correct page and portal. I need to open my_requests page in My It service Portal and that shows the list of call tickets that are created and from there i am trying to open the particular call.

 

The table name is u_call. If i manually open the record it shows in the URL.

Nafeesabashir_0-1686210144086.png

 

However, the difference between your case and mine is that u_call table is our customization and when you clicl on action, it shows close button for you but for me it shows reopen incident.