# 允许使用输入值作为手动映射的“调用工作流”布尔类型字段

**URL:** https://meta.discourse.org/t/allow-use-of-input-for-value-of-manually-mapped-call-workflow-boolean-type-fields/408827
**Category:** Feature
**Tags:** completed, workflows
**Created:** [2026年七月29日 15:00 UTC](https://meta.discourse.org/t/allow-use-of-input-for-value-of-manually-mapped-call-workflow-boolean-type-fields/408827 "2026-07-29T15:00:57Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2026年七月31日 08:23 UTC](https://meta.discourse.org/t/allow-use-of-input-for-value-of-manually-mapped-call-workflow-boolean-type-fields/408827/7 "2026-07-31T08:23:24Z")

</div>

快速更新：@renato 和我同时进行了这项工作，最终我们针对同一个_功能_提交了两个 PR。

> <https://github.com/discourse/discourse/pull/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.

---

_[View the full topic](https://meta.discourse.org/t/allow-use-of-input-for-value-of-manually-mapped-call-workflow-boolean-type-fields/408827)._
