Duplicate Commit Data

1
Hi, I have an issue using microflow to submit data in 2 entities.   I have created 2 page. First page is use to commit Ticket’s entity, and then I used next page button that will create object to the second entity which is Vendor Document. Then I created call microflow button This is my microflow: When user input false company code, then it will failed and back to the first page. This is the issue, whenever I back to the first page, the second page (vendor document) will keep commit the data into the vendor document entity, but not in Ticket’s entity.   How can I solve this? it should not commit any data to any entity if the company code is not valid
asked
0 answers