- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2015 07:36 AM
Hi,
My organization has a catalog item which allows users to grant, modify, or revoke user access to various systems. However, problematic things happen with approvals when they choose to revoke. We also have a catalog item for revoke access which doesn't cause this problem, and I was wondering if there was a way to provide a hyperlink on the grant, modify, or revoke access catalog item form to the revoke access catalog item form so as to redirect everyone to the latter. I know it may seem like it would make the most sense just to get rid of revoke access on the grant/modify catalog item but it's been this way for a long time so I think from a user experience perspective it would be best to try and provide a link. I've searched through the wiki and while I have found this regarding how ServiceNow URLs work I haven't found anything that seems like it would allow me to create a hyperlink in this manner, such as a service catalog variable type for hyperlinks or something. Could someone please help me out here?
Thanks
Solved! Go to Solution.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2015 09:57 AM
Hi Robert,
Thanks for the update. Just replace the instance name with yours and update the link.
Replace 039c516237b1300054b6a3549dbe5dfc with the sys_id of the catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2015 07:39 AM
You could do a variable of type Macro, make that into a URL, then make it read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2015 07:42 AM
Why not look at using the worklfow from the catalog item that works
open the workflow for the catalog item that does not work
add an if statement so it if is to revoke it calls a new branch
that new branch is a copy of the workflow from the catalog item that works.
Keeps it the same for everyone then

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2015 07:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2015 09:53 AM
Thanks Pradeep. I've modified the jelly code provided in the thread to make it functional and added the URL of the catalog item in the href tag, but the issue is that the URL I used came from going to the "personalize item" page for the item and right clicking at the top and selecting "copy URL". Apparently this doesn't work because the link on the grant/modify form redirects to the "personalize item" form for revoke access rather than the item's form which the end users see. Is there an easy way of getting the URL for the item form page like there is for the personalize item form page?