Message Manifest Properties, Methods, and Events

The following tables describe the properties, methods, and events for the Message Manifest component.

Properties

Property

Description

This

A reference to this object.

Methods

Method

Description

Parameters

Return Type

GetMessage

Use this method to return output parameters which you can use in queries The parameters return the button, default button, and icon. You choose when you create the item within the Message Manifest.

Each output parameters offers a blue data path that returns the result as a string.  Each output parameter also provides a yellow execution path for each of the possible choices that the string could contain. In essence, these execution paths act as a case statement. For example, the icon could be warning, informational, error, and so on.

Note: Be careful how you use the execution paths off of the output parameters. Do not use multiple execution paths off the block. This is not a best practice.

messageBoxButtons

messageBoxDefaultButton

messageBoxIcon

 

GetMessageDetails

Use this method to retrieve the details of the message based the message code. The details include the...

  • Code

  • Text of the message

  • Buttons

  • Default button

  • Icon

The text of the message will include the values of the variables, so you will see what the user sees.

This lets you get message details from lower levels of an automation.

none

string

ResetState

Use this method to reset all component properties to their initial values.

none

void

ShowMessage
(1 parameter)

Use this method to show the details of a message returned via the GetMessageDetails method.

messageDetails

 

ShowMessage
(2 parameters)

Use this method to show the details of the message returned as a result. This includes the...

  • Code

  • Text of the message

  • Buttons

  • Default button

  • Icon

The text of the message will include the values of the variables, so you will see what the user sees.

This lets you show message details from lower levels of an automation.

none

string

 

Events

There are no events for Message Manifest.

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label