View rule on custom view

Delapan
Tera Contributor

We have a custom view created named "ABC", and we have a view rule in place for user's having 'itil' role the default view will be set as "ABC".
The issue we are facing is when we try to move problem from New to Assess using UI Action "Assess" ,ideally it should open the "Assess dialog form view", but instead it is opening in "ABC" view. Is there a way we can control this??
Thanks in advance!! 

1 REPLY 1

Mani A
Tera Guru

strange but you can acheive this by setting required view again in "assess" ui action ..

var gu= new GlideURL('problem.do');

gu.addParam('sys_id',current.sys_id);

gu.addParam('sysparm_view','your viewName);