Created 12-12-2016 10:39 PM
Is there a way to get access to the Process Group Name (and details) within a running Process Group? I don't see a specific value in the expression language or any other mention of it within properties documentation. I am looking to use the name of the Process Group to drive property naming, notifications, etc.
Simple Example:
Process Group Name: financeSalesDataLoad
Notification Message: Nifi ${process.group.name} Failed (or Succeded)
Created 12-13-2016 02:57 PM
There currently isn't a way to do this. With expression language you are either referencing a function (listed here https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html) or variable. The variables could be flow file attributes, system properties passed through bootstrap.conf, or variables from the variable registry (https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#custom_properties).
I don't know of a reason why there couldn't be an EL function like ${processGroupName()} which returned the name of the enclosing process group. It just hasn't come up before.
Created 12-13-2016 02:57 PM
There currently isn't a way to do this. With expression language you are either referencing a function (listed here https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html) or variable. The variables could be flow file attributes, system properties passed through bootstrap.conf, or variables from the variable registry (https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#custom_properties).
I don't know of a reason why there couldn't be an EL function like ${processGroupName()} which returned the name of the enclosing process group. It just hasn't come up before.