tencent cloud

Feedback

Set Payload

Last updated: 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
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support