does gs.setRedirect() work in after BR in workspace

MaharshiC
Tera Contributor

Hi,

 

In the list view in workspace I need to write an after update BR on a custom table to redirect it to a particular url. But when i try write the following code there is no redirection happening. I tried with other url also that is also not working

(function executeRule(current, previous /*null when async*/) {
    	
	var url ='/x/iem/tqa-workspace/home/params/sys-id/740dd0401b5ca650e7e5c995604bcb04/edit/false';
	
	gs.setRedirect(url);


})(current, previous);

 

7 REPLIES 7

Community Alums
Not applicable

Hi @Community Alums ,

I dont think the oncell edit client script works in workspace list view. So is there any other way i can achieve this redirection as I am not able to call the client script in workspace list view

 

Community Alums
Not applicable

Correct @MaharshiC ,  oncell edit client script doesn't works in workspace list view.

 

Hi @Community Alums ,

 

Is there any alternative to do this url navigation in workspace list?

 

Regards,

Maharshi