0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/plugins/discourse-workflows/admin/assets/javascripts
Renato Atilio c604b93c0b
FEATURE: Support dynamic expressions for workflow boolean fields (#42161)
Boolean fields in manually mapped "Call workflow" inputs and in Set
fields could only be hardcoded with a switch, so step inputs could not
drive them the way they drive every other field type.

This change enables expression mode for boolean assignment values, makes
boolean toggles accept dropped variables like other expression-capable
fields, and casts resolved values against an explicit true/false
vocabulary.

Note: a boolean expression resolving to an unrecognized value ("maybe")
now fails the step with a clear error instead of silently taking the
false branch.

---------

Co-authored-by: Régis Hanol <regis@hanol.fr>
2026-07-30 14:04:20 -03:00
..
admin FEATURE: Support dynamic expressions for workflow boolean fields (#42161) 2026-07-30 14:04:20 -03:00
discourse FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00