# Class EventFlowVisitor OptimaJet.Workflow.BpmnPlugin.Import.EventFlowVisitor The EventFlowVisitor class is responsible for visiting and processing the flows (ingoing or outgoing) of a BPMN event. Namespace: [OptimaJet.Workflow.BpmnPlugin.Import](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.Import/) ```csharp public class EventFlowVisitor : BaseFlowVisitor ``` ## Type Hierarchy - [BaseVisitor](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.Import/BaseVisitor/) - [BaseFlowVisitor](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.Import/BaseFlowVisitor/) - EventFlowVisitor Current type ## Methods `public void AddOutgoingFlow(TEvent bpmnEvent, TSequenceFlow flow, BpmnConverterContext context)` Adds an outgoing transition for the specified event into the process definition. ### Parameters | Name | Type | Description | | --- | --- | --- | | `bpmnEvent` | `TEvent` | Event to convert. | | `flow` | `TSequenceFlow` | Outgoing flow to convert. | | `context` | `BpmnConverterContext` | Context for the BPMN conversion process. | `protected virtual void AddOutgoingFlowStartEvent(TStartEvent startEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `startEvent` | `TStartEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `protected virtual void AddOutgoingFlowIntermediateCatchEvent(TIntermediateCatchEvent intermediateCatchEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `intermediateCatchEvent` | `TIntermediateCatchEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `protected virtual void AddOutgoingFlowIntermediateThrowEvent(TIntermediateThrowEvent intermediateThrowEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `intermediateThrowEvent` | `TIntermediateThrowEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `protected virtual void AddOutgoingFlowImplicitThrowEvent(TImplicitThrowEvent implicitThrowEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `implicitThrowEvent` | `TImplicitThrowEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `protected virtual void AddOutgoingFlowBoundaryEvent(TBoundaryEvent boundaryEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `boundaryEvent` | `TBoundaryEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `public void UpdateIncomingFlow(TEvent bpmnEvent, TSequenceFlow flow, BpmnConverterContext context)` Updates the incoming transition if necessary for the specified event. ### Parameters | Name | Type | Description | | --- | --- | --- | | `bpmnEvent` | `TEvent` | Event to convert. | | `flow` | `TSequenceFlow` | Incoming flow to convert. | | `context` | `BpmnConverterContext` | Context for the BPMN conversion process. | `protected virtual void UpdateIncomingFlowEndEvent(TEndEvent endEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `endEvent` | `TEndEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `protected virtual void UpdateIncomingFlowIntermediateCatchEvent(TIntermediateCatchEvent intermediateCatchEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `intermediateCatchEvent` | `TIntermediateCatchEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `protected virtual void UpdateIncomingFlowIntermediateThrowEvent(TIntermediateThrowEvent intermediateThrowEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `intermediateThrowEvent` | `TIntermediateThrowEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | `protected virtual void UpdateIncomingFlowImplicitThrowEvent(TImplicitThrowEvent implicitThrowEvent, TSequenceFlow flow, BpmnConverterContext context)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `implicitThrowEvent` | `TImplicitThrowEvent` | | | `flow` | `TSequenceFlow` | | | `context` | `BpmnConverterContext` | | [Previous ConvertedProcessHintType](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.Import/ConvertedProcessHintType/) [Next EventNodeVisitor](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.Import/EventNodeVisitor/)