Skip to main content
LinkedIn
Copied!

Table of Contents

Missing event key property

Version:

Only available versions of this content are shown in the dropdown

During the creation of an Event Strategy rule, the following error is displayed: Invalid event key. Please choose from available properties.

Cause

The event strategy is created in the class that contains inherited properties only or that does not contain any properties.

Event keys in Event Strategy rules
The Subscription ID property is referenced as the event key in an event
                            strategy.

You can choose the event key only from the properties of the event strategy class, without the inherited properties. Therefore, each time you create a class for event strategies, you must create at least one property in that class to eliminate this error. Perform the following steps to create a property that you can select as the event key for your event strategy class.

Solution

  1. In the navigation pane of Dev Studio, click Records.

  2. Expand the Data Model category, and then click Property.

  3. Click Create.

  4. Specify the label, identifier, and the context of the property rule.

  5. Click Create and open.

  6. Configure the Property form to define the format and type of data that is stored in the property.

  7. Click Save.

Related Content

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.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us