Hi,
I am working with a document flow for an ANY document where I use a script to look for certain values in the incoming file. Based on the values searched for, I want the document flow to either continue or end (with a filer). The script works fine, I get the result I want and the best scenario had been if I was able to use more than one output parameter from the script further in the document flow but still some limitations there. I therefore need something else to search for when I use the filter functionality in the flow after the script.
Since it is an ANY document, I only have the possibility to work with following attributes;

Do you know an easy way to rename some of the attributes of the header in a script? For example the location, documentId, documentName or MessageId?
Or maybe an better alternative without too complex setup?
Kind regards,
Emma