onActivityEvent

Gives information of each ActiveMatrix BusinessWorks Activity Event from the EventBus. Use addTracing to get relevant ActiveMatrix BusinessWorks Activity Events.

Arguments

None

Returns

Item Description
Type Type of the event
ApplicationName Name of the application
ApplicationVersion Version of the application
ComponentName

Name of the component

ModuleName Name of the ActiveMatrix BusinessWorks module
ModuleVersion

Version of the ActiveMatrix BusinessWorks module

Timestamp Time stamp when the data was received
ActivityEndTime When the activity instance ended
ActivityEvalTime

The time between the beginning and end of the evaluation period for the activity. If the activity completes in one step, the evalTime and elapsedTime would be the same. However, some activities, such as Request, Reply, or Wait for... activities typically do not complete in one step.

ActivityExecutionId Activity execution Identifier
ActivityName Name of the activity
ActivityStartTime When the activity instance started
ActivityState State of the activity, for example: Completed or Faulted or Canceled
IterationCount Number of iterations activity has performed
ParentActivityExecutionId Parent activity execution identifier
ProcessInstanceId Instance ID of the process
ProcessName Name of the process
BWTimestamp Time stamp when the event was occurred
SerializedInputDataLength Serialized input data length (if Activity Payload is enabled in addTracing method)
SerializedInputDataArray Serialized Input data array (if Activity Payload is enabled in addTracing method)
SerializedOutputDataLength Serialized output data length (if Activity Payload is enabled in addTracing method)
SerializedOutputDataArray Serialized output data array (if Activity Payload is enabled in addTracing method)
LoopStructure Loop used for iterating ActiveMatrix BusinessWorks activity
TraceId Unique identifier for the trace