GroovyExecutionService connects to an external service (via HTTP) to offload script execution, allowing access to a wider range of Groovy libraries fewer restrictions.
Properties
Script Body: The Groovy script to execute
Failure Strategy: What to do with unhandled exceptions: rollback or transfer to failure.
Rollback: all flowFiles received from incoming queues will be penalized and returned.
Transfer to failure: all flowFiles in this session will be transferred to `failure` relationship with additional attributes set: `ERROR_MESSAGE`.
Batch Size: How many flowfiles to process in each run. If the processor has no incoming connections then this property has no affect.
Relationships
Failure: Flowfiles that fail processing.
Success: Flowfiles processed successfully.
Usage
It is recommended that GroovyExecutionService be used in cases when other, existing processors cannot perform the function or transformation required.
ExecuteScript will be removed and no longer supported within the Databridge Pro November
2025 release. Additionally, ExecuteGroovyScript has been deprecated and support will
be removed in a coming release. All flows should be modified to use the new GroovyExecutionService
processor, replacing the deprecated and unsupported components.