- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 07:35 AM
Hi Priya,
I tried with action.setRedirectURL("URL"), but nothing happened with this parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 07:40 AM
Hi Amit,
you cannot use action in business rule; only allowed is gs object for redirection
you cannot open the page in new tab using gs.setRedirect(url)
To which page you need to take
sample below
gs.setRedirect('/incident.do?sys_id=-1'); // this will take to new incident record
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 07:53 AM
Hi Ankur,
Actually i am setting this parameter in display business rule which have other logic.
When all the validation passed, then i need to redirect the page to this specific record with sysid.
I tried with the above parameter but it's not redirecting to that page rather opening that specific records in the bottom of the current page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 08:06 AM
Hi Amit,
So the redirection code is in display BR?
Can you give complete context of what you are trying to achieve?
Regards
Ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 08:35 AM
Yes, redirection code is written in display BR.
We are validating some mandatory rules by displaying error message in the form if their is any fields which is blank in the child table. If all the rules are passed, we are comparing the flag value and then performing a redirection to the parent table.
Parent form is getting displayed with above method but not as a new URL but in the bottom of the current page.