Skip to main content



No record found.

Power Platform integration forum

SubmitForm failed on Onsuccess

Posted on by 3,962

Hey Team,

I have a EmployeeForm with fields like Firstname,LastName,Email and have another Form named "PositionForm" which has PositionId and other fields. Onsubmit button of EmployeeForm I'm submitting both "EmployeeForm " and ""PositionForm" and Onsuccess of "EmployeeForm" I want to submit other forms which I have as they pick PositionId value after submission of "positionForm". I'm using Set property on onsubmit button of EmployeeForm to fetch PositionId and placing this variable as a value of text input fields of other forms  but my other forms are not getting submitted on the "OnSuccess" property. It doesnot map the PositionId value on the submit of PositionForm it gives an error as "Data source invalid" or "Cannot leave id field empty" or sometimes simply no error is there but the other forms are not submitted. Please let me know why is this happening or what can I do?


Formula on SubmitButton


  • RE: SubmitForm failed on Onsuccess

    After SubmitForm(EmployeeForm);


    OnSucess of EmployeeForm, you SubmitForm(Positionform);


    What is the exact error here. Can you share screenshot may be.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Product updates

Dynamics 365 release plans