Accept Risk UI action is not working in Workspace (Problem Management)

gowthamaa_mohan
Tera Contributor

I am trying to add the 'Accept Risk' Ui Action in Problem management in Workspace, It is working in native UI but not in workspace. Please check the screenshot i don't know how to call the function in workspace client script. Kindly help me to achieve this requirement.

6 REPLIES 6

@Community Alums yes , it is completely missing in workspace.

Community Alums
Not applicable

Hi @gowthamaa_mohan ,

You can use Declarative Actions in the workspace ui on forms, lists, and related lists, and they work with both workspaces and UI Builder pages, so you don’t need to customize an out-of-the-box UI Builder page.

Workspaces use client-side UI Actions, and a UI Action must be marked as Client in order for it to appear and function on a workspace. So what do you need to do if you want to re-use a server-side UI Action you've previously created or want to create in a workspace UI Action? You have some choices. You can create a server script Declarative Action for the Workspace, which is detailed in our COE article on Declarative Actions, or you could call the server-side UI Action from your client-side UI Action.

 

Example

 

 

function onClick() {
  var actionName = g_form.getActionName();
  g_form.submit(actionName);
}