sysparm_stack issue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2018 08:11 AM
Hello team,
I wrote sysparm_stack=/incident_list.do?sysparm_query=active=true in URL aruguments in one module. If I wrote like this it will redirect to Incident list view but filter is not set to active=true.
Can you suggest me how to write code for that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2018 08:27 AM
Is this what you are looking for?
https://XXXXXXX.service-now.com/nav_to.do?uri=/incident_list.do?sysparm_query=active=true
Thank you
--
Vinay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2018 08:33 AM
How can I write by using sysparm_stack ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2018 09:04 AM
One the Create New incident module, I tested this with the following in the Link Type > URL(from arguments). It redirects to Problem list with active set to true.
incident.do?sys_id=-1&sysparm_query=active=true&sysparm_stack=problem_list.do?sysparm_query=active=true
OR
This redirects to problem list with active set to false.
incident.do?sys_id=-1&sysparm_query=active=false&sysparm_stack=problem_list.do?sysparm_query=active=false
--
Vinay Reddy