Github user mcgilman commented on the issue:
https://github.com/apache/nifi/pull/3046
Thanks for the update. We do not want to reference another module directly
via `nf.`. This would only be working currently because we have not enabled a
module loader yet. However, the codebase currently supports one. This can be
seen at the top of any of the JS files. If a module loader was turned on, this
would fail because the `nf.` namespace would no longer be in global scope.
If you want to reference something in another module, we'll need to import
it. Alternatively, you could import it in a module that is already imported in
both. In the policy case, the combo options are in `nfCommon` and a utility
function was added to access them.
---