LinkedIn
Copied!

Table of Contents

Publish-Notifications

Version:

Only available versions of this content are shown in the dropdown

Use the Publish-Notifications method to publish the top-level scalar and value list properties of a clipboard page to a notification channel.

Parameters

Parameter Description
ChannelName Enter the name of a notification channel as displayed on the Notifications Channel landing page.

Results

When the Publish-Notifications() is called with a channel name parameter, all the top-level scalar and value list parameters of the step page are published to the specified channel. If the channel was configured to receive a specific set of properties, only those properties are published.

In the absence of the channel name parameter, this method publishes the entire step page to any channel that is based on the same class as the step page.

This method logs an error if the publish operation fails.

Checking the method status

This method updates the pxMethodStatus property.

For more information on how to use this method and real-time notifications, see the Real-time applications and push notifications in Pega Platform article on Pega Community.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.