Skip to main content

Publish-Notifications

Suggest edit
Updated on March 16, 2022

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

Parameters

ParameterDescription
ChannelNameEnter 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.

Did you find this content helpful? YesNo

0% found this useful

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us