[PR #386] [CLOSED] Add boolean and object input types support to workflow documentation #468

Closed
opened 2026-02-16 06:15:36 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-docs/pull/386
Author: @devin-ai-integration[bot]
Created: 8/6/2025
Status: Closed

Base: mainHead: devin/1754492172-boolean-object-input-docs


📝 Commits (2)

  • 7583ecb docs: add boolean and array[boolean] data types support across workflow nodes
  • bf0e88f Docs tools: Successfully completed 3 operations

📊 Changes

30 files changed (+84 additions, -24 deletions)

View changed files

📝 en/guides/workflow/node/code.mdx (+1 -1)
📝 en/guides/workflow/node/ifelse.mdx (+14 -0)
📝 en/guides/workflow/node/iteration.mdx (+1 -1)
📝 en/guides/workflow/node/list-operator.mdx (+1 -0)
📝 en/guides/workflow/node/parameter-extractor.mdx (+1 -1)
📝 en/guides/workflow/node/start.mdx (+3 -1)
📝 en/guides/workflow/node/template.mdx (+1 -1)
📝 en/guides/workflow/node/variable-aggregator.mdx (+1 -1)
📝 en/guides/workflow/node/variable-assigner.mdx (+1 -1)
📝 en/guides/workflow/variables.mdx (+3 -1)
📝 ja-jp/guides/workflow/node/code.mdx (+1 -1)
📝 ja-jp/guides/workflow/node/ifelse.mdx (+14 -0)
📝 ja-jp/guides/workflow/node/list-operator.mdx (+1 -0)
📝 ja-jp/guides/workflow/node/parameter-extractor.mdx (+1 -1)
📝 ja-jp/guides/workflow/node/start.mdx (+7 -1)
📝 ja-jp/guides/workflow/node/template.mdx (+1 -1)
📝 ja-jp/guides/workflow/node/variable-aggregator.mdx (+1 -1)
📝 ja-jp/guides/workflow/node/variable-assigner.mdx (+1 -1)
📝 ja-jp/guides/workflow/variables.mdx (+3 -1)
📝 zh-hans/guides/workflow/node/agent.mdx (+0 -1)

...and 10 more files

📄 Description

Add boolean and object input types support to workflow documentation

Summary

This PR updates Dify's trilingual documentation (English, Simplified Chinese, Japanese) to reflect new platform capabilities for boolean and object input types in workflow applications. The changes add support for:

  1. New data types: boolean and array[boolean] as workflow variable types
  2. New Start node input types: checkbox (for boolean input) and object (for structured JSON data)
  3. Enhanced workflow node support: Updated documentation for 8+ workflow nodes to clarify boolean type compatibility

The updates maintain consistency across all three language versions and follow user-centered, concise documentation principles as requested.

Review & Testing Checklist for Human

  • Verify translation accuracy in Chinese (zh-hans/) and Japanese (ja-jp/) files - check technical terminology and grammar
  • Validate technical accuracy of boolean type descriptions for each workflow node (especially If/Else conditions and Variable Aggregator compatibility)
  • Test completeness by reviewing if any other workflow node documentation should mention boolean support but was missed
  • Cross-reference with PRD to ensure all requirements from the original specification are met
  • Verify Start node input types - confirm checkbox and object input descriptions match actual platform behavior

Recommended test plan: Review the updated documentation against the actual Dify platform UI to ensure input type descriptions and boolean support claims are accurate.


Diagram

%%{ init : { "theme" : "default" }}%%
graph TD
    Variables["en/guides/workflow/variables.mdx<br/>zh-hans/guides/workflow/variables.mdx<br/>ja-jp/guides/workflow/variables.mdx"]:::major-edit
    StartNode["en/guides/workflow/node/start.mdx<br/>zh-hans/guides/workflow/node/start.mdx<br/>ja-jp/guides/workflow/node/start.mdx"]:::major-edit
    IfElse["en/guides/workflow/node/ifelse.mdx<br/>zh-hans/guides/workflow/node/ifelse.mdx<br/>ja-jp/guides/workflow/node/ifelse.mdx"]:::major-edit
    
    ParamExtractor["parameter-extractor.mdx"]:::minor-edit
    Template["template.mdx"]:::minor-edit
    Code["code.mdx"]:::minor-edit
    ListOp["list-operator.mdx"]:::minor-edit
    Iteration["iteration.mdx"]:::minor-edit
    VarAgg["variable-aggregator.mdx"]:::minor-edit
    VarAssign["variable-assigner.mdx"]:::minor-edit
    
    Variables --> |"Added boolean<br/>array[boolean]"| StartNode
    StartNode --> |"Added checkbox<br/>object inputs"| IfElse
    IfElse --> |"Boolean conditions"| ParamExtractor
    ParamExtractor --> Template
    Template --> Code
    Code --> ListOp
    ListOp --> Iteration
    Iteration --> VarAgg
    VarAgg --> VarAssign
    
    subgraph Legend
        L1["Major Edit"]:::major-edit
        L2["Minor Edit"]:::minor-edit
        L3["Context/No Edit"]:::context
    end
    
    classDef major-edit fill:#90EE90
    classDef minor-edit fill:#87CEEB
    classDef context fill:#FFFFFF

Notes

  • This is a documentation-only change with no code modifications
  • Changes were applied consistently across all three supported languages (English, Simplified Chinese, Japanese)
  • The updates are based on new platform capabilities for boolean data types and enhanced Start node input options
  • All changes maintain the existing documentation structure and formatting conventions

Session Details:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-docs/pull/386 **Author:** [@devin-ai-integration[bot]](https://github.com/apps/devin-ai-integration) **Created:** 8/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `devin/1754492172-boolean-object-input-docs` --- ### 📝 Commits (2) - [`7583ecb`](https://github.com/langgenius/dify-docs/commit/7583ecbee53ffa26104b123fc569198e5e243e2b) docs: add boolean and array[boolean] data types support across workflow nodes - [`bf0e88f`](https://github.com/langgenius/dify-docs/commit/bf0e88f9e8e5608c265cbe3f0cafc5b21d029cf0) Docs tools: Successfully completed 3 operations ### 📊 Changes **30 files changed** (+84 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `en/guides/workflow/node/code.mdx` (+1 -1) 📝 `en/guides/workflow/node/ifelse.mdx` (+14 -0) 📝 `en/guides/workflow/node/iteration.mdx` (+1 -1) 📝 `en/guides/workflow/node/list-operator.mdx` (+1 -0) 📝 `en/guides/workflow/node/parameter-extractor.mdx` (+1 -1) 📝 `en/guides/workflow/node/start.mdx` (+3 -1) 📝 `en/guides/workflow/node/template.mdx` (+1 -1) 📝 `en/guides/workflow/node/variable-aggregator.mdx` (+1 -1) 📝 `en/guides/workflow/node/variable-assigner.mdx` (+1 -1) 📝 `en/guides/workflow/variables.mdx` (+3 -1) 📝 `ja-jp/guides/workflow/node/code.mdx` (+1 -1) 📝 `ja-jp/guides/workflow/node/ifelse.mdx` (+14 -0) 📝 `ja-jp/guides/workflow/node/list-operator.mdx` (+1 -0) 📝 `ja-jp/guides/workflow/node/parameter-extractor.mdx` (+1 -1) 📝 `ja-jp/guides/workflow/node/start.mdx` (+7 -1) 📝 `ja-jp/guides/workflow/node/template.mdx` (+1 -1) 📝 `ja-jp/guides/workflow/node/variable-aggregator.mdx` (+1 -1) 📝 `ja-jp/guides/workflow/node/variable-assigner.mdx` (+1 -1) 📝 `ja-jp/guides/workflow/variables.mdx` (+3 -1) 📝 `zh-hans/guides/workflow/node/agent.mdx` (+0 -1) _...and 10 more files_ </details> ### 📄 Description # Add boolean and object input types support to workflow documentation ## Summary This PR updates Dify's trilingual documentation (English, Simplified Chinese, Japanese) to reflect new platform capabilities for boolean and object input types in workflow applications. The changes add support for: 1. **New data types**: `boolean` and `array[boolean]` as workflow variable types 2. **New Start node input types**: `checkbox` (for boolean input) and `object` (for structured JSON data) 3. **Enhanced workflow node support**: Updated documentation for 8+ workflow nodes to clarify boolean type compatibility The updates maintain consistency across all three language versions and follow user-centered, concise documentation principles as requested. ## Review & Testing Checklist for Human - [ ] **Verify translation accuracy** in Chinese (`zh-hans/`) and Japanese (`ja-jp/`) files - check technical terminology and grammar - [ ] **Validate technical accuracy** of boolean type descriptions for each workflow node (especially If/Else conditions and Variable Aggregator compatibility) - [ ] **Test completeness** by reviewing if any other workflow node documentation should mention boolean support but was missed - [ ] **Cross-reference with PRD** to ensure all requirements from the original specification are met - [ ] **Verify Start node input types** - confirm checkbox and object input descriptions match actual platform behavior **Recommended test plan**: Review the updated documentation against the actual Dify platform UI to ensure input type descriptions and boolean support claims are accurate. --- ### Diagram ```mermaid %%{ init : { "theme" : "default" }}%% graph TD Variables["en/guides/workflow/variables.mdx<br/>zh-hans/guides/workflow/variables.mdx<br/>ja-jp/guides/workflow/variables.mdx"]:::major-edit StartNode["en/guides/workflow/node/start.mdx<br/>zh-hans/guides/workflow/node/start.mdx<br/>ja-jp/guides/workflow/node/start.mdx"]:::major-edit IfElse["en/guides/workflow/node/ifelse.mdx<br/>zh-hans/guides/workflow/node/ifelse.mdx<br/>ja-jp/guides/workflow/node/ifelse.mdx"]:::major-edit ParamExtractor["parameter-extractor.mdx"]:::minor-edit Template["template.mdx"]:::minor-edit Code["code.mdx"]:::minor-edit ListOp["list-operator.mdx"]:::minor-edit Iteration["iteration.mdx"]:::minor-edit VarAgg["variable-aggregator.mdx"]:::minor-edit VarAssign["variable-assigner.mdx"]:::minor-edit Variables --> |"Added boolean<br/>array[boolean]"| StartNode StartNode --> |"Added checkbox<br/>object inputs"| IfElse IfElse --> |"Boolean conditions"| ParamExtractor ParamExtractor --> Template Template --> Code Code --> ListOp ListOp --> Iteration Iteration --> VarAgg VarAgg --> VarAssign subgraph Legend L1["Major Edit"]:::major-edit L2["Minor Edit"]:::minor-edit L3["Context/No Edit"]:::context end classDef major-edit fill:#90EE90 classDef minor-edit fill:#87CEEB classDef context fill:#FFFFFF ``` ### Notes - This is a documentation-only change with no code modifications - Changes were applied consistently across all three supported languages (English, Simplified Chinese, Japanese) - The updates are based on new platform capabilities for boolean data types and enhanced Start node input options - All changes maintain the existing documentation structure and formatting conventions **Session Details**: - Requested by: Yefan Chen (@Yevanchen) - Link to Devin run: https://app.devin.ai/sessions/e02a7760cbd34bc491551e7c0c8e3c3c --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 06:15:36 -05:00
yindo closed this issue 2026-02-16 06:15:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs#468