Subscription Receiver

Subscription Receiver activity receives activation and deactivation requests for receiving the notification from the mobile device. This activity triggers, when the application subscribes or unsubscribes the device token. The mobile application is responsible to notify Mi Service of its subscription status by calling its subscription service when appropriate.

General

The General tab has the following fields.

Field Description
Name The name to be displayed as the label for the activity in the process.

Description

Provide a short description for the activity.

Advanced

The Advanced tab has the following fields.

Field Description
Sequence Key This field can contain an XPath expression that specifies which processes should run in sequence. Process instances with sequencing keys that evaluate to the same value are executed sequentially in the order the process instance was created .
Custom Job Id This field can contain an XPath expression that specifies a custom ID for the process instance.

Output

The following is the output for the activity.

Output Item Datatype Description
Subscription text This element consists of the following:
  • status: of the mobile application whether it should receive push notifications or not.
  • deviceToken: Unique ID of the application running on the device.
  • platformType: type of mobile platform the device is operating on.
user text Contains the following user-specific information:
  • phone: contact number of the user
  • email: email ID of the user