We are designing a system to read the kafka exporter events and send a notification to the clients when, say a workflow instance is started, completed, terminated, incident raised etc.
While reading the kafka events, I could see RejectionType is set to some value (not NULL_VAL) only for events of valueType INCIDENT.
Could you please clarify if anything other than NULL_VAL can come in the RejectionType for valueTypes like WORKFLOW_INSTANCE_CREATION, WORKFLOW_INSTANCE, VARIABLE etc?
This will help us design to correctly send the notification back to the clients.
Not sure if this is the right forum for this internals questions. Please let me know if I should raise this somewhere else.