Redirect after approval is given
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2016 12:24 AM
Hello community,
I have a question about redirecting users back to the homepage of the Self Service Portal after approving an item in their 'approvals list.
In the current situation, after approving an item, the managers are redirected to a list of approvals from different departments and managers. In the new situation I would like to change that by redirecting them back to the homepage of the Self Service Portal through a thank you pop-up after an approval.
Hopefully someone can provide me with some advice. Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2016 12:55 AM
Hi,
setRedirect(Object)
Sets the redirect URI for this transaction. This determines the next page the user will see.
Example:
gs.setRedirect("com.glideapp.servicecatalog_cat_item_view.do?sysparm_id=d41ce5bac611227a0167f4bf8109bf70&sysparm_user="
+ current.sys_id + "&sysparm_email=" + current.email)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2016 01:19 AM
Hi Midhun,
How do I find the setRedirect(object) in this specific case? And is there already a line of scripting available to adjust there?
Thanks for the help so far!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2016 02:25 AM
Hi,
After approving it should go to homepage right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2016 11:51 PM
Hi Midhun,
No, when the approver receives an e-mail that they need to approve, for instance, a requested item. They go to the approval form and when they hit the button approve or reject there they will return to a list with approvals from all departments and people.