Passing Variable to URL and Redirect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 03:05 AM
Hello Need assistance in understand what is going wrong or is my approach itself is not appropriate
I have a ask where in when a Catalog task is closed all the information from the Variables need to passed to a new Order guide.
If i test by passing the values on the URL manually it opens proper
Here is a example i am passing
com.glideapp.servicecatalog_cat_item_guide_view.do?v=1&sysparm_initial=true&sysparm_guide=240c617c9777b910e4417b0e6253af51&sysparm_variables={"access_required":"yes","first_name":"abc","last_name":"xyz","display_name":"","mobile_number":"","manager_email":"","employment_start_date":"","job_title":"","department_cost_center":""}
I am using workflow for redirecting
using action.setRedirectURL(URL); <in URL i am passing above>
I am getting error on the workflow liek syntax error : missing ; before statement.
Also since this value will be coming from a Variable is this the right method of passing variable in jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 03:21 AM
Hi @rajesh44853
Can you please show the script that you have created in Workflow. As I have seen we cant redirect via workflow, as it is not the part of the concurrent server or UI part. If you want to redirect it use it via UI action or BR
Regards,
Piyush Sain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 03:36 AM
its just 2 line
var url = url as above
gs.setRedirectURL(url);
issue mostly about setting the URL right