@AlokKumar
I am not able to understand the context here. It would help to get to right solution if you can explain why the inserts into same table should be executed in certain order.
However, Nifi Connection configuration settings have prioritizers. Please check screenshot below..
If you are able to set attribute "priority" with desired number, "PriorityAttributePrioritizer" can be used. Please note that these prioritizers operate on node level. You may have to test these if you have multi node nifi environment.
There is a processor "EnforceOrder" which has more options to enforce execution order. You may check this processor and find out if it works.
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/nifi2.0-m4/org.a...