Member since
02-19-2024
3
Posts
4
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
658 | 02-20-2024 03:25 AM |
02-20-2024
03:25 AM
2 Kudos
I know the solution , I should write it like that convert Script File to groovyx-script-file class ExecuteGroovyScriptProcessor(ScriptProcessorBase): @property def name(self) -> str: return 'org.apache.nifi.processors.groovyx.ExecuteGroovyScript' def insert_custom_properties(self, script_file: str, module_directory: str = None, **kwargs): self.set_configuration_properties({**{"groovyx-script-file": script_file, "Module Directory": module_directory, "groovyx-failure-strategy":"transfer to failure"}, **kwargs, **self._processor_configuration["properties"]})
... View more