Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Publish-Notifications

Updated on August 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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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