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

IF

Conditional judgment, consisting of True and False exits

PreviousNodesNextSWITCH

Last updated 10 months ago

Judgment logic

( A and B and ... ) or ( C and ... ) or ...

Demo

Set a random number to determine if it is within the range, and then output different text messages.

  1. Get random number variable through datasource.

  2. Set judgment logic.

Audit logs

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

Judgment type

Type
Operators

Text

  • contains

  • not contains

  • is

  • is not

  • starts with

  • ends with

  • starts not with

  • ends not with

Number

  • greater than

  • greater than or equal

  • less than

  • less than or equal

  • equal

  • not equal

Time

  • earlier than

  • later than

  • equal

  • not equal

Boolean

  • True

  • False

Object

  • exsits

  • not exsit

  • is empty

  • is not empty

UI
Config Form