Redirect URL through business rule

Community Alums
Not applicable

Hi,

I need to redirect the URL to a different page through business rule.

I am using gs.setRedirect(url) by setting up the url.

Once the condition are true, it showing the form using the above parameter but it's redirecting to new url but opening the form in the bottom same page. 

Please advise. 

1 ACCEPTED SOLUTION

Community Alums
Not applicable
Thanks Everyone. We did it with help of writing onLoad client script and then used navigation parameter. From business rule we are passing a variable through g_scratchPad.

View solution in original post

13 REPLIES 13

Muralidharan BS
Mega Sage
Mega Sage

Hi Amit,

I read in some article action.setRedirectURL(url) is working to redirect, can you give a try, 

Thanks

Murali

Community Alums
Not applicable
Thanks Everyone. We did it with help of writing onLoad client script and then used navigation parameter. From business rule we are passing a variable through g_scratchPad.

Hi Amit,

I have a after BR but want to redirect it to a url in portal. Can you please help me with same ?

Hi @Deepika Mishra ,

Were you able to solve this?

 

Thank You