title: Update attributes based on content in NiFi
body: <p>How can I add a attribute to the current flow file when developing an Apache NiFi cusom processor.<br>
  What I want to do is adding a new attribute (or at least update a current attribute) to the current flow file with calculated value.<br>
  Or is there an already built processor that I can use?</p>