Post Process

Custom Code that gets executed after every set of events posted to the output

Everytime the events are posted to the output, you can perform any post process, if need be, using the Post Process script. You can use any standard Java or Groovy code in the post process script.

Variables Available

The following are the variables available to the script

Variable

Description

Output Type

flowCode

Flow code

All

outputEventType

Table name in the target DB

All

inputEventType

Table/Object name in the source system

All

inputType

Input Connector Type e.g. Oracle, MySQL

All

outputType

Output Connector Type e.g. Oracle, MySQL

All

logger

Log4j logger for debug purpose

All

db

An instance of FlowScript

All

count

Total number of events processed

All

events

List of events List<Message>

All Database

errorCount

Total number of events erred out

All

con

Output database connection used to post the events

All Database

producer

The producer used to post the events

Kafka

key

S3 file Key used to post the events

Amazon S3

FlowScript (db)

Last updated

Was this helpful?