Skip to main content
Answer

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

  • June 28, 2022
  • 1 reply
  • 79 views

Sulea Ema
Vanguard
Forum|alt.badge.img+1

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

Best answer by Mark Jongeling

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!

This topic has been closed for replies.

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • June 28, 2022

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!