tencent cloud

文档反馈

Set Payload

最后更新时间:2023-08-03 17:12:12

    Overview

    Set Payload is used to set the payload attribute in message. It supports expressions and literals. To enter a literal, select the data type and enter the literal in the input box. To enter an expression, select the any type and write an expression.

    Operation Configuration

    Parameter configuration

    Parameter Data Type Description Required Default Value
    Value any The data to be saved in payload. Yes None

    Configuration page

    image-20210325155210080

    Output

    The message output by the component is as detailed below:

    message Attribute Value
    payload The data entered by the user.
    error
    • error will be empty if the flow is executed successfully.
    • error will be of dict type and contain the Code and Description fields if the flow fails to be executed. The Code field indicates the error type, and the Description field indicates the error details.
    attribute This attribute inherits the attribute of the previous component.
    variable This attribute inherits the variable of the previous component.

    Data preview

    Example

    1. Add a Set Payload component.
      image-20210330173057043
    2. Enter the data to be configured.
      image-20210330173121330
    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持