How to hide NEW button from WOT when CHG is closed or Cancelled using Condition in Workspace ?

Virendra K
Kilo Sage

Hi All,

Requirement is to hide NEW button from Work Order Task related list when Change request is Closed or Cancelled.

I have found the Related List Action related to New but I am unable to set the condition using either Script or Client Condition ? (snaps)

I am new to workspace and do not know how to use these field. 

How I could set /use these fields to check Change requests  "State" field condition to Closed or Cancelled ?

VirendraK_0-1736171643755.png

 

 

VirendraK_1-1736171703936.png

 

Regards,

Virendra

 

 

 

 

1 ACCEPTED SOLUTION

Dibyaratnam
Tera Sage

In script condition, add current.state!='closed' or the integer value of closed state. i.e current.state!=3 assuming 3 is the value for closed state. which means that the button will only be visible when the state is not closed.

View solution in original post

1 REPLY 1

Dibyaratnam
Tera Sage

In script condition, add current.state!='closed' or the integer value of closed state. i.e current.state!=3 assuming 3 is the value for closed state. which means that the button will only be visible when the state is not closed.