36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"flow": {
|
|
"nodes": [
|
|
{
|
|
"id": "numberCompareNode",
|
|
"name": "数值比较节点",
|
|
"type": "common",
|
|
"clazz": "cn.iocoder.yudao.module.rule.framework.liteflow.component.common.NumberCompareComponent"
|
|
},
|
|
{
|
|
"id": "stringConditionNode",
|
|
"name": "字符串条件节点",
|
|
"type": "common",
|
|
"clazz": "cn.iocoder.yudao.module.rule.framework.liteflow.component.common.StringConditionComponent"
|
|
},
|
|
{
|
|
"id": "mathCalculateNode",
|
|
"name": "数学计算节点",
|
|
"type": "common",
|
|
"clazz": "cn.iocoder.yudao.module.rule.framework.liteflow.component.action.MathCalculateComponent"
|
|
},
|
|
{
|
|
"id": "dataSetNode",
|
|
"name": "数据设置节点",
|
|
"type": "common",
|
|
"clazz": "cn.iocoder.yudao.module.rule.framework.liteflow.component.action.DataSetComponent"
|
|
}
|
|
],
|
|
"chains": [
|
|
{
|
|
"name": "示例规则链",
|
|
"condition": "THEN(numberCompareNode, mathCalculateNode, dataSetNode)"
|
|
}
|
|
]
|
|
}
|
|
} |