Solved

How to make a task button by deafult to be disable ?

  • 28 June 2022
  • 1 reply
  • 59 views

Userlevel 1
Badge +1

How i can make a task by deafult to be disable and only after selecting a specific row to be enable?

icon

Best answer by Mark Jongeling 28 June 2022, 09:12

View original

This topic has been closed for comments

1 reply

Userlevel 7
Badge +23

Hi Sulea,

You can make use of Context logic on your subject; more info here: https://docs.thinkwisesoftware.com/docs/sf/business_logic#context

The Control procedure template code would look something like this:

if @status <> 1 -- Task should be disabled until "status" equals 1
begin
set @task_name_type = 1 -- Disable task
end

In this example, the task will be disabled unless the Status column equals 1; then the Task will be clickable.

Hope this helps!