Ui action to open a record from task

sooryamohan
Tera Contributor

We have a requirement to open a server record(form view) using an ui action 'Decomission server'.The ui action is in task form. While clicking' Decomission server'  the server record which is mentioned in the task should be opened,so that support engineer can decommion the server easily.

Kinldy help to achieve this.

1 ACCEPTED SOLUTION

try now

 

 

function set()
{
var cec = g_form.getValue('cmdb_ci');
var url = '/cmdb_ci.do?sys_id='+cec;
window.open(url,'_blank');
}

 

find_real_file.png

View solution in original post

7 REPLIES 7

Try below 

action.setRedirectURL('/cmdb_ci.do?sys_id=' + current.cmdb_ci);

Thanks

try now

 

 

function set()
{
var cec = g_form.getValue('cmdb_ci');
var url = '/cmdb_ci.do?sys_id='+cec;
window.open(url,'_blank');
}

 

find_real_file.png

Thank you so much:)

It's working.