Missing event key property
During the creation of an Event Strategy rule, the following error is displayed: Invalid event key. Please choose from available properties.
The event strategy is created in the class that contains inherited properties only or that does not contain any properties.
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.
- In the navigation pane of Dev Studio, click Records.
- Expand the Data Model category, and then click Property.
- Click Create.
- Specify the label, identifier, and the context of the property rule.
- Click Create and open.
- Configure the Property form to define the format and type of data that is stored in the property.
- Click Save.
Previous topic Incorrect order of events Next topic No decision data store nodes defined