Tangram
语言
  • What is Tangram?
  • overview
    • Capabilities
    • Architecture
  • Install
    • Start with Kubernetes
  • quick start
    • Create a flow
    • Create a tool
  • Flow
    • Nodes
      • IF
      • SWITCH
      • Format
      • Count
      • Subflow
      • Conversion
      • Execution
      • Variable
      • Note
      • Error
      • Response
    • Datasources
      • Node
      • Form
      • Variable
      • Webhooks
      • Inputs(Subflow)
      • Base
  • triggers
    • Forms
      • Text
      • Textarea
      • Number
      • Date
      • Radio
      • Checkbox
      • Single Selection
      • Multi Selection
      • File
      • Title and Content
    • Webhooks
    • Crons
  • APP Development
    • template
    • info.json
    • core.py
    • test.py
    • Upload and Debugging
Powered by GitBook
On this page
  • Judgment logic
  • Demo
  • Audit logs
  • Judgment type
  1. Flow
  2. Nodes

SWITCH

Conditional judgment, Multiple outputs

PreviousIFNextFormat

Last updated 10 months ago

Judgment logic

1 ( A and B and ... ) or ( C and ... ) or ...
or
2 ( A and B and ... ) or ( C and ... ) or ...
or
3 ...

Demo

Set up a random array and count the number, display different message texts based on judgment logic.

Each condition corresponds to a branch.

Audit logs

After the job is executed, the actual judgment logic can be viewed in the details.

Judgment type

Same like .

UI
Config Form
Condition 1
Condition 2
Condition 3
IF