How Can I Add Custom Data to Standard IPF events?

A number of preset events are provided for handling action and state timeouts within IPF:

  • ActionTimeoutEvent

  • ProcessingTimeElapsedEvent

  • ActionRetryEvent

  • UnexpectedErrorEvent

  • ForcedCompleteEvent

  • AbortEvent

  • ActionCompletionEvent

These events are defined at a core level and cannot be manipulated.

However, in some circumstances you may wish to enrich these with your own data points.

This can be achieved on a "per-flow" level by adding business data elements to the list provided within the inspector panel of the flow (use Ctrl+Alt+I with the cursor on any empty space within the flow definition):

customdata 1

Here we can see the "RetryData" data point has been defined as one of the default system data points by adding it to the "System Event Data" field. When data points are added to standard events in this way, a new custom version of the event class is generated. For instance, in this example, a "TestFlowActionTimeoutEvent" class will be created as part of the model generation, which contains the data "RetryData" data point value. The same approach applies to the other preset events defined in the list above.

If no default system data points are defined in the manner described above, then the standard event types are generated.