How to use $Abort and $AddEvent functions in centerprise?

Hi community,

Can you please elaborate on how and why do we use the abort and add event functions ?


Abort function:
The $Abort function is used as a kill switch for your job. You may use it in expression, filter transformation. Abort function basically stop the job from running. It takes one string as input which will be displayed on your job progress and job monitor in case the job is killed.

AddEvent Function
The $AddEvent function is used to add an event in your event log. You may use it in your expression and filter transformations, It takes 2 strings as an input, one is the message to be displayed and the second one is Error or warning info. When the condition is met, AddEvent function will add an event in your event log which you may view in the server log.