Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-04-2021 03:27 AM
I have to implement one scenario using Nifi flow.
1. There is one attribute from upstream processor like
KeyValue : KGPYT
2. I have to find whether KeyValue is unique in the system or not , by validation from Database.
If it is not found in the database, the flowfile should be proceed to success and
if the value is present in database, it should be proceed to failure.
Please suggest me how to proceed in this case.
thanks!
Created 08-04-2021 05:59 AM
I think you are probably looking for the LookupAttribute processor. (Or possibly the LookupRecord processor).
It should allow you to look up the value somewhere (e.g. in a database) and afterwards you can route on the outcome. Either directly based on matched/unmatched or if it is more complicated (e.g. the depending on what you actually found) perhaps using something like RouteOnAttribute.
Created 08-04-2021 05:59 AM
I think you are probably looking for the LookupAttribute processor. (Or possibly the LookupRecord processor).
It should allow you to look up the value somewhere (e.g. in a database) and afterwards you can route on the outcome. Either directly based on matched/unmatched or if it is more complicated (e.g. the depending on what you actually found) perhaps using something like RouteOnAttribute.
Created 08-08-2021 10:25 PM
@midee, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. I
Regards,
Vidya Sargur,Created 08-10-2021 12:45 AM
Created 08-19-2021 03:06 AM
@midee, were you able to implement the suggestions? Has the reply helped resolve your issue? If so, can you please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future?
Regards,
Vidya Sargur,