You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2025/01/31 20:49:00 UTC
[jira] [Updated] (NIFI-14218) Add Stateful annotation to ExecuteGroovyScript
[ https://issues.apache.org/jira/browse/NIFI-14218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess updated NIFI-14218:
--------------------------------
Status: Patch Available (was: In Progress)
> Add Stateful annotation to ExecuteGroovyScript
> ----------------------------------------------
>
> Key: NIFI-14218
> URL: https://issues.apache.org/jira/browse/NIFI-14218
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> ExecuteGroovyScript has access to the StateManager through the session object, and can thus perform state-related functions. However because the processor is not annotated with @Stateful, this capability doesn't show up in the docs and there is no "Clear state" option on the State dialog. Adding this annotation is trivial yet helpful.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)