APPCUBE-根据flow_id修改Flow对象:请求参数

时间:2023-11-01 16:15:21

请求参数

请求参数如表2所示。

表2 请求Body参数

参数

是否必选

参数类型

描述

label

String

Flow标签。

processType

String

服务编排的类型。

  • Autolaunched Flow:自启动Flow,在接口调用后会立即执行服务编排模型定义的逻辑。
  • Event Trigger:事件触发的服务编排,则会在事件触发时才会开始执行服务编排模型定义的逻辑。当选择该类型时,您需要配置具体的事件以及条件规则。

startElement

String

服务编排的起始元素。

interviewLabel

String

Flow实例标签。

localUrl

String

本地url。

event

String

Flow涉及的事件。

variables

Array

如果flow类型是Event Trigger,则可以填写绑定具体事件。

formulas

Array of objects

Flow中定义的公式。

choices

Array of objects

Flow中的选择判断。

structs

Array of objects

Flow中定义绑定的结构体。

constants

Array of objects

常量。

structVariables

Array of objects

结构体变量。

objectVariables

Array of objects

对象变量。

screens

Array of objects

Flow输入的显示界面。

localUrl

String

Flow接口本地URL。

compilerVersion

String

最终版本。

catalogue

String

Flow分类。

private

String

是否私有。私有的服务编排不能通过Rest API或者自定义API(公共接口)进行调用。

  • true
  • false
support.huaweicloud.com/api-appcube/appcube_api_0043.html