Skip to main content
Solved

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

  • June 28, 2022
  • 1 reply
  • 74 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!

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3936 replies
  • 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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings