Resolve a ticket from a task table saved as a favorite, it no longer takes you back to previous page

wefw
Tera Contributor

Hi,

 

I resolve a task from the filters saved, it is redirecting back to the home page rather than the same favorites table i have chosen.

I would want to navigate back to the table from my favorites than the homepage.

 

for example, if we open a task from "My Tasks: Open" (saved as Favorite) and then resolve it, it doesn't take you back to the "My Tasks: Open" list. it's taking to homepage. we now have to open the task into a new tab and resolve it in the new tab, then you still have the task list open in another tab etc.
If the filter is changed on the favourite, then it fixes the issue? Please can this be looked into as to why it is happening?

 

1 ACCEPTED SOLUTION

Hello @wefw ,

 

Thanks for the update. Yes, that's exactly what I was expecting to find in the bookmark URL. 

 

"sysparm_nostack" prevents the page (in your case the list of open tasks reached from the bookmark) from being added to the navigation stack. Updating the task would normally cause the system tor return to the last page on the stack but since it is not added you are seeing this behavior.

 

So the bookmark would need to be updated to not have that "sysparm_nostack=true" component in the URL. Then the issue should be gone.

 

Regards,

Robert

View solution in original post

10 REPLIES 10

Hello @wefw ,

 

Sorry, I thought you wanted users to stay on the same page. Please remove the line I suggested earlier.

Instead, please open that particular bookmark and the copy & paste the URL from your browser here. I'm particularly interested in knowing whether any "sysparm_stack" or "sysparm_clear_stack" parameters are present in the URL.

 

Regards,

Robert

wefw
Tera Contributor

Hi Robert

sc_task_list.do?sysparm_query=active%3Dtrue%5EstateIN1%2C2%5Erequest_item.u_product!%3D7d599e3d1b9e4d109a5fed79b04bcb05%5Eassigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe%5ENQaction_status%3D5%5Estate%3D10%5Eassigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe%5EORDERBYDESCaction_status%5EORDERBYdue_date&sysparm_first_row=1&sysparm_view=trf_open

Hello @wefw ,

 

Thank you. I don't see anything in that URL that would explain the behavior you observe.

 

I also created a Favorite on my end that opens a similar URL, then used a UI Action that is configured like yours, but was not able to reproduce your issue.

 

So I would recommend that you open a case on Now Support and let ServiceNow's technical support figure this out.

 

Regards,

Robert

wefw
Tera Contributor

Hey Rebort,

Sorry for the previous One. i missed a part in URL which is "sysparm_nostack=true" . I send the URL which is other one this is the Correct URL


/sc_task_list.do?sysparm_nostack=true&
sysparm_query=active%3Dtrue%5EstateIN1%2C2%5Erequest_item.u_product!%3D7d599e3d1b9e4d109a5fed79b04bcb05%5Eassigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe%5ENQaction_status%3D5%5Estate%3D10%5Eassigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe%5EORDERBYDESCaction_status%5EORDERBYdue_date&sysparm_first_row=1&sysparm_view=trf_open
When i removed that stack its working fine i think

Hello @wefw ,

 

Thanks for the update. Yes, that's exactly what I was expecting to find in the bookmark URL. 

 

"sysparm_nostack" prevents the page (in your case the list of open tasks reached from the bookmark) from being added to the navigation stack. Updating the task would normally cause the system tor return to the last page on the stack but since it is not added you are seeing this behavior.

 

So the bookmark would need to be updated to not have that "sysparm_nostack=true" component in the URL. Then the issue should be gone.

 

Regards,

Robert