Member since
08-03-2018
2
Posts
0
Kudos Received
0
Solutions
08-06-2018
07:07 AM
Thank's a lot for your answer @Shu, Can you tell me where did you find this information ? I was on the apache site and here is what I could find : My problem is that this attribute depends on the flowfile and I wish I could change the final directory depending on the value of this attribute. I have the impression that it is not possible to change the value of a variable dynamically.
The only solution I see is to route the flow based on the attribute, but it will generate me a lot of branch in my process.
Do you think there would be a more dynamic solution?
... View more
08-03-2018
02:35 PM
Hello, I try to use FlowFile Attribute to set output directory in a MoveHDFS processor. I set the Ouptut Directory to theis value :${path_to_prod_AS}${Librairie} ${path_to_prod_AS} is a variable and ${Librairie} is an Attribute. My problem is that The file are move in ${path_to_prod_AS} driectory, it's as if he could not interpret the value of the attribute. For the Input Directory, I Use that string : ${path_to_workspace}${now():format('yyyy-MM-dd')}/${Serveur}/${Librairie}/${Table}/ where ${path_to_workspace} is a variable and ${Serveur} ,${Librairie} and ${Table} ar attribute. There is no problem to collect the file. Thank you for your help
... View more