dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[QUESTION] CONDITIONS task node usability issues

Open ywywn opened this issue 6 years ago • 5 comments

Describe the question CONDITIONS is a pretty useful node, but there are some usability issues when I add additional condition with custom parameters. Logical judgment will appear even single condition, it make me confuse when use CONDITIONS firstly. Under a single condition, changing the logical judgment will not affect this part of the judgment. image

Which version of DolphinScheduler: -[dev]

Requirement or improvement Logical judgment should be hidden when user just have single condition.

ywywn avatar May 06 '20 03:05 ywywn

@xingchun-chen , please review this issue, thx

davidzollo avatar May 08 '20 07:05 davidzollo

I don't quite understand what the problem is, can you describe it in detail

xingchun-chen avatar May 08 '20 07:05 xingchun-chen

Sorry about describe unclearly. No matter which judgment (and / or) I choose in custom parameters, the workflow always turns to test-4, the judgment(red mark) does not affect the workflow when custom parameters contain single condition. Is it possible to consider hiding judgment (and / or) when custom parameters contain single condition? I think this is a problem about ease of use, the priority of modification will not be very high. image image

ywywn avatar May 08 '20 09:05 ywywn

How are conditional nodes used? When judging the task execution return code, whether 0 or -1, it will execute to the successful branch!

xiaomi-box avatar Aug 06 '20 05:08 xiaomi-box

Use condition node refer to #2652

xingchun-chen avatar Nov 06 '20 02:11 xingchun-chen