Working with Inbox / Receive Message Process
Process Purpose
This is a Messagebox Service related process.
The Inbox / Receive Message process is used to synchronously receive a message from the back-end via an Inbound (Device <- Platform) topic profile.
When you add a process, you are required to define its settings. This occurs in the process's properties window which is displayed automatically after having added the Inbox / Receive Message process.
If any subsequent edition is required, double-click the process to open its properties window and enter the necessary modifications.
In this case, the properties window includes two tabs - "Message" and "Error".
Fill in the following options:
Source |
|||||||
Topic Name |
Select the intended topic profile from the drop-down. This list only displays the Inbound (Device <- Platform) topic type profiles. If required, click |
||||||
Message Header |
|||||||
Variable |
Create/select the variable that receives the data from the message header (all header parameters are consolidated into one variable). Click |
||||||
Message Body |
|||||||
Content |
Define the content type for the message's body - "Variable" (default selection) OR "File". This selection affects the related option (located below). Select the content type for the message's body. The selection of the target (Variable/File) affects the related option (located below). |
||||||
Variable/File |
Depending on the selected content, you will access the corresponding field that will receive the message body:
|
||||||
Additional Informations |
|||||||
Message Topic |
Click |
||||||
Sender |
Click |
||||||
Date Time |
Click |
||||||
Message ID |
Click |
Proceed to the "Error" tab.
Error tab
Fill in the following options:
If ... Go to |
|
Comm Error |
Select a target location from the drop-down or |
No Message |
Select a target location from the drop-down or |
Detail of a window:
"S:Menu" is a screen included in the same program as the process.
"R:Routine_1" is a routine included in the same program as the process.
If required, use the icons on the upper right corner of the process properties window:
Use it to setup a time out. See Time Out.
Use the icon to attach any relevant notes to this process. Click it and enter your notes in the resulting text box. These notes will be displayed in the corresponding "Actions" tab or "Process" window (in the "Notes" field) and in the "Developer Report".
After filling in the required options, click to conclude or
to abort the Inbox / Post Receive Message process.
The added process is displayed in the corresponding "Actions" tab or "Process" window.
When creating a file, we recommend you use the related best practices (ex: do NOT use special characters).
For more detailed information, register/log in to our MCL Support Center and access MCL's Knowledge Base ("File Name Best Practices").
Use the right-click in MCL-Designer's input boxes to access some related options as well as the general "Cut", "Copy"; "Paste"; "Search" actions (active/inactive according to the current context).
Ex: If you right-click the "Variable" input box (included in a "Conversion's" properties window), you are provided with general editing/search actions and other more specific options such as "Variable Select" (see "Variable Select") ;"Variable Insert" (see "Variable Insert")"Insert Special Character" (see To Insert Special Characters into a Control's Text Input Field) and "Localization Select" (see Localization List).
If you right-click another input box, it nay provide other possibilities.