内置函数 工作流流程可视化 工作流流程定义 first状态 负责对输出数据进行 base64decode 操作, 将解码得到的JSON格式字符串进行转map操作 second状态 负责对输入数据使用 jq 内置函数对数据进行过滤, 选择books价格高于12且分类不是reference的book Final状态 直接将结果进行输出 本示例包含: base64decode , jsonStringToMap 以及 jq 的内置函数使用 包含内置函数嵌套使用案例 plaintext specVersion: "0.8" name: "demo" start: "first" states: name: "first" type: "Operation" stateDataFilter: output: "{ jsonStringToMap(base64decode($.input)) }" actions: functionRef: type: "Noop" transition: nextState: "second" name: "second" type: "Operation" stateDataFilter: input: "{ jq($, '.books[] select((.price > 12) and (.category ! "reference"))') }" actions: functionRef: type: "Noop" transition: nextState: "Final" name: "Final" type: "Operation" actions: functionRef: type: "Noop" end: true