insert in one table get the ID and then include that id in next insert in Apache Nifi
I need to inject data read from elastic in Json format to two different tables having parent child relationship.
i.e
- User table
Name, Age, Role
David,35,1
Tay,23,2
John,27,2
- Role table:
1,admin
2,user
My requirement is to insert in user table first get the Role ID and then include that id in next insert to dump data in Role table
How can i achieve this thing Apache Nifi?@mburgess

