Create a UI Action that will be visible on New State, by clicking this incident state will be updated to in progress.
UI Action Condition: current.state != 2
UI Action Script:
/*var gr = new GlideRecord('incident'); if(gr.get(current.sys_id)){ gr.state = 2; gr.update(); }*/ current.state = 2; current.update();
Create UI Action that will be redirected to an external website to search
function externalLink(){ if(confirm('External URL wants to open?')){ var shortD = g_form.getValue('short_description'); top.window.open("https://www.google.com/search?q="+shortD,"_blank"); } }
No responses yet