I have created an Infopath form with 2 views.
I first view, user enter the details and submit the form that generate a unique ID basis on List Item ID.
in second view there are some fields for Manager to add comment and other details .
Now the issue I am facing is that after adding his/her data, when manager click on submit button, It create a new Item in list instead of updating the current item.
In submit option I am using a Data connection with following formula to create form/Item name:
I am unable to find the solution on how to update the Item via Infopath button.
I am using sharePoint online.