Skip to main content
Closed

Set the columns to different visibilities in the variants of tasks

Related products:Software Factory
  • October 21, 2025
  • 3 replies
  • 10 views

SanderAdam
Captain

Hello everyone,

While we were writing code for a task layout it occurred to us that this could be done much simpler via a task variant. But to our surprise the task variant was not able to do this. Like in subjects, you can alter the visibility of columns per variant, but in task variants this is not possible. 

As a concrete example: I had a task where three values have to be invisible for a certain role. Now I have a preparation task that prepares a value, sends that to the task that needs to be executed, and the layout logic sets those, otherwise editable fields, to hidden or read only based on whether the value in the preparation task is true or false.

It would be easier if I could just set those task fields to hidden in the variant directly, this would save a task and a bunch of code in a lot of instances.

So in short, I would like the following option in the subject variants:
 

Where I can give the columns a stricter visibility (and not from read only back to editable) per variant. I think it could be a good idea to implement this in the task variants as well, so that this option becomes available (per variant) here as well:
 

This would be ideal in many situation that now require extra (sometimes unnecessary) code.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 4053 replies
  • October 21, 2025

Hi Sander,

You certainly can, however, by default the detail is not visible. You'll have to use the Setup form task. Once done, the Form detail is shown:

 


SanderAdam
Captain
Forum|alt.badge.img+5
  • Author
  • Captain
  • 39 replies
  • October 21, 2025

Hi Mark,

Then this idea can be closed, I shall immediately apply this in my branch. Thank you for your quick reply.

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 4053 replies
  • October 21, 2025
NewClosed