External Redirect URL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2022 07:43 AM
As we test a potential integration with Adobe Sign we're looking for a way to force a redirect to an external URL.
Part of the Adobe Sign request setup is the URL to return to after the document has been signed. This URL is designed to be part of our main SN instance which would be fine if documents were only sent to Internal employees. However, we'd prefer to keep it on Adobe Sign's site for two reasons:
1. If an employee has multiple documents to review we'd rather that they be sent back to master list, and
2. We're also going to be sending documents to External users for data collection, and they won't be able to access the site.
Is there a way to use the SN URLs to send the user to an external site? Alternatively, I know that you can use a Content Item to provide an external link, is there a way to call that Item directly via a URL like I can with a regular Catalog Item?
To assist, here's an example of the properties in SN:
Any assistance would be appreciated.
Thanks!
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2022 07:46 AM
Hi,
You should be able to use the basic format of:
https://www.example.com
Anytime you simply use /url (like in your screenshot above) - the system interprets that as an internal system URL.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2022 08:22 AM
If I don't put an internal URL the process fails.
"INVALID_REDIRECT_URL, The redirectUrl specified in PostSignOptions is not a valid URL; Failed to submit Agreement"
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2022 08:41 AM
Agh, sorry! Was hoping that would be the simply fix. There must be some validation on that property disallowing it.
With that said, it mentions this in the documentation:
"The default redirect url property applies to any agreement where the value in the ‘Post sign URI’ field has not been set."
So for the specific agreement(s) you are wanting to redirect users from, can you not set the redirect URI right on that agreement instead? This will not call the above system property then if you specify it directly with the agreement.
More information about the overall process here: https://helpx.adobe.com/sign/using/servicenow-integration-installation-guide.html
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2022 09:32 AM
The code forces a redirect back to the existing ServiceNow Instance. This is the related code that I cannot adjust, so no matter what I do I cannot prevent it from coming back to xxxxx.service-now.com:
--
var default_uri = gs.getProperty('x_adosy_as.post_sign_uri');
var post_sign_url = this.getInstanceUrl();
post_sign_url += ( ag.post_sign_uri + '' ) || default_uri;
--
What I'm potentially looking for is a way to use that property to force a redirect back to Adobe Sign by using something like this for the property:
/redirect=www.adobesign.com
Alternatively, if I could use the return URL to access a redirect Content Item (sc_cat_item_content) on our Service Portal it should do the same thing but I can't find the correct combo of parameters to make it happen compared to direct-linking to a normal Catalog Item.
Thoughts?