I need the button to appear in the workspace

Alessa
Mega Guru

Dear community, I need help:

 

Platform View:

On the platform, when I'm on a specific task (SCTASK) (to change the state, close the task, etc.), there is a button on the form called "Actualizar" (Update). When I press this button, the task is saved, and the view automatically switches to the service  view (SERV). It exits the task view and automatically goes to the service view.

photo1.png

Workspace View:

I need the same thing to happen in the task view in a Workspace; that is, for the "Actualizar" (Update) button to appear so that the view automatically switches to the service (just as it happens on the platform). In the workspace, only the SAVE button appears, and it does not perform the same function. When selected, the view remains on the task.

photo 2.png

Can anyone help me with this?

 

Thank you in advance.

1 REPLY 1

Kalyani Jangam1
Mega Sage
Mega Sage

Hi @Alessa 

To visible UI action on workspace, Go to the workspace section and checked 

Screenshot 2023-09-22 at 11.11.00 AM.png
Code will change as per requirement, Mostly below line use in script
var actionName = g_form.getActionName();
    g_form.submit(actionName);
Please refer below link also for reference
 
Please Check and Mark Helpful and Correct if it really helps you.