Salesforce

MQTT - Trigger Configuration (Magic xpi 4.6)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

MQTT - Trigger Configuration (Magic xpi 4.6)

The MQTT connector can be used to subscribe to topics that invoke a flow based on a published message. When you drag the MQTT connector into the Magic xpi Studio’s trigger area, the Properties pane opens. Double-click or right-click on the connector and select Configuration from the context menu to open the MQTT Trigger Configuration dialog box.

This dialog box contains the following fields:

Name

Description

Connection

Resource Name

This read-only field displays the name of the MQTT resource that you selected for the trigger when defining the service.

Topic

Click New to add a new topic. Click Delete to add a delete an existing topic.

Topic

Enter the name of the topic that you want to subscribe to. Topics support wildcards as per the MQTT specifications.

QoS

The Quality of Service definition of the topic that you want to subscribe to. Select one of the following from the drop-down list:

  • 0 (default): At most once.

  • 1: At least once.

  • 2: Exactly once.

Result Options

Message Payload

Defines where you want to store the message payload. Click to open the Variables List and select a variable to hold the message payload. The default is C.UserBLOB.

Message Topic

Defines where you want to store the message topic. Click to open the Variables List and select a variable to hold the message topic. The default is C.UserString.

Reference
Attachment 
Attachment