Adding DJMessage Variable
You can add a DJMessage variable in two ways:
• Add the DJMessage from the Step Properties tab.
• Add the DJMessage on the Configuration tab > Global Variable section and associate it to the message component action on the Step Properties tab.
For information about DJMessages, see
DJMessage Object Type.
Adding DJMessage Variable on Step Properties tab
To add a DJMessage variable on the Step Properties tab:
1. After you add the required step on the canvas, double-click the step to open Step Properties.
2. Select the required message component.
3. From the Action drop-down list, select the required action (GetMessage or PutMessage).
4. In the Parameters table, for the Message parameter, click within the Value column and from the drop-down list, select Add New DJMessage Variable.
The Add New DJMessage Variable window is displayed.
5. Specify the following:
• DJMessage Name
• Scope Level
• Private
• Public
• Select or clear the Add the required initialize and destroy scripts in the Start and Stop steps. This option is selected by default.
6. Click More Options and specify one of the following:
• File - Click Browse to specify the file. The contents of this file is used to populate the body of the DJMessage you are creating.
• URL - Type the URL. The contents of this page is used to populate the body of the DJMessage you are creating.
7. Click Create DJMessage.
The new DJMessage variable appears in the Value column for the Message parameter. The same DJMessage variable is listed on the Configuration tab > Global Variables section.
An initialization script will be automatically added in the Start step and a destroy script will be automatically added in the Stop step for this new DJMessage if you have selected the Add the required initialize and destroy scripts in the Start and Stop steps option.
The message body from an URL or a File will be automatically populated for this new DJMessage in the Start step if you have selected More Option.
Adding DJMessage Variable on the Configuration tab
To add a DJMessage variable instance on the Configuration tab:
1. Go to the Configuration tab > Global Variables.
2. Click the
to add a Global Variable.
The Add Global Variable window is displayed.
3. Specify the Variable Type as DJMessage.
4. Click Save.
The new DJMessage variable instance is added to Configuration tab > Global Variables section. You can select the same DJMessage variable instance from the Step Properties tab > Value column drop-down list.
Last modified date: 12/03/2024