private void publishEndedEvent() {
        BatchEventsPublisher publisher = getBatchEventsPublisher();
        if (publisher != null) {

            publisher.publishSplitFlowEvent(getSplitName(),
                                            getFlowName(),
                                            getTopLevelInstanceId(),
                                            getTopLevelExecutionId(),
                                            BatchEventsPublisher.TOPIC_EXECUTION_SPLIT_FLOW_ENDED,
                                            correlationId);
        }
    }
private void publishEndedEvent ( ) { BatchEventsPublisher publisher = getBatchEventsPublisher ( ) ; if ( publisher != null ) { publisher . publishSplitFlowEvent ( getSplitName ( ) , getFlowName ( ) , getTopLevelInstanceId ( ) , getTopLevelExecutionId ( ) , BatchEventsPublisher . TOPIC_EXECUTION_SPLIT_FLOW_ENDED , correlationId ) ; } }
Publish ended event