Discussion
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
RPA/RDA Practitioner
US
Last activity: 23 Oct 2019 5:32 EDT
Using Message Definitions and Message Manifest
This post is to explain usage of 'Message Definitions' and the 'Message Manifest' component to present various messages to an end user.
First set up the MessageManifest (shows under properties) with the 'Message Definitions'
- Right click on the project and choose 'Properties'
- In the 'Application' section go to the 'Message Definitions' section.
- At the far right click the ellipses icon (the three dots).
- Fill in the Code, Caption, Button, Icon, Default Button, and Message
- Click 'OK'.
- Save the properties. (See MessageDefinitions image)
In a Global Container add the MessageManifest component from the toolbox and Save. (see GCwithMessageManifest image)
Create automations with the Methods GetMessageDetails and ShowMessage available under Messages in Global Container in the Object Explorer. (see MessageMethods image
Below are some sample of using the 'Message Definitions' with 'Message Manifest'
(see image ERROR-001) - This shows a basic message
(see image ERROR-002) - This shows a 1 parameter message and accepts a parameter (this can be the location in the automation of an error)
(see image ERROR-003) - This shows a 2 parameter message with location and parameter for a file name.
(see image ERROR-004) - This shows a basic YesNo message
(see image ERROR-005) - This shows a AbortRetryIgnore message with focus on (Button3 Ignore)
(see image ERROR-006) - This show a parameter OKCancel message