[
https://issues.apache.org/jira/browse/NIFI-14218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17922965#comment-17922965
]
ASF subversion and git services commented on NIFI-14218:
--------------------------------------------------------
Commit 4224f03f995783ed0222feb96d39c90b31849535 in nifi's branch
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4224f03f99 ]
NIFI-14218: Added Stateful annotation to ExecuteGroovyScript
Signed-off-by: Pierre Villard <[email protected]>
This closes #9679.
> 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: 20m
> 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)