Skip to main content

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Missing event key property

Suggest edit
Updated on April 5, 2022

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.
Did you find this content helpful? YesNo

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