Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to enable Risk Assessment UI action in Agent Workspace

George Mathew
Tera Contributor

How to make the Change Risk Assessment related link to be available in Agent Workspace.

I have enabled the workspace button checkbox in the UI action and its showing in Agent Workspace. But when clicking on it nothing happens. Please help.

 

10 REPLIES 10

Hi @Todor Apostolov ,
Even I am trying to achieve the same, Please let me know if you were able to achieve this 

Thank you 
Regards,
Prajwal

Hi @pgvaishnav we are also stuck at same place. Can you please help us on same

 

Hi @Pooja P ,
I created a Business Rule that triggers when the risk value is updated and reloads the browser accordingly.
Thank you 
Prajwal

I added the highlighted line below to make them read only
 
function handleAsmt(asmtInstanceSysId, changeRiskAsmtSysId, changeRequestSysId, riskAsmtName) {
    var asmtUiPage = "assessment_take2";
    var url1 = asmtUiPage + ".do";
    url1 += "?sysparm_assessable_sysid=" + asmtInstanceSysId;
    url1 += "&sysparm_assessable_type=" + changeRiskAsmtSysId;
    url1 += "&sysparm_reader_view=true";  // ADD HERE
    url1 += "&sysparm_hide_header=true";
    url1 += "&sysparm_hide_save=true";
    url1 += "&sysparm_hide_cancel=true";
    url1 += "&sysparm_hide_source_details=true";
    url1 += "&sysparm_stack=no";
    url1 += "&sysparm_return_url=" + getEncodedUrl(changeRequestSysId, asmtInstanceSysId);

Hi @Brenda5 ,
Thank you very much for the code. 
just wanted to know if we can reload the form on workspace once the assessment is submitted using g_form.save() or any other method. currently i tried using the same after the line 
window.g_parentDialog = dialogWindow;

 but seems like its not working.
use case is once the assessment is completed the button should not be visible for which we have to reload the form.
Please let me know if there is a way to achieve this 

Thank you very much in advance

Regards,
Prajwal.