Microflow for creating object

0
Hi, I have a page where the user can create an object where they then click save to create it. But the save button takes you to this microflow, and I am unsure how to go about making the save button create the object within the microflow. I used a microflow as I want to make sure that the data are valid in a certain way. I understand that this works if you make a microflow to take you to the create page, but here, I ran out of ideas on what to do. The screenshot will be below, thank you in advance.   EDIT: Thanks, I accept both answers but I can only choose one. And what fixed it was just inserting the commit object activity.
asked
2 answers
2

I’m not sure you want to create a new Modules object here, instead I think you want to commit the one you have passed in as the parameter.

You will also want to decide what to do after this action. You may want to use a “Show Page” action to take the user to a new page, you may want to use a “Close Page” action to close the page and go back to the previous page, or you may want to stay on the same page and use conditional visibility to show different content.

answered
2

In the microflow, you already have the object. It got created when you opened the page. The object has not yet been committed to the database, and it is passed to your microflow via the parameter Modules (side note: best practice is Module instead of Modules). All that is left for you to do, is at the end of the microflow, after validation, add the commit-activity for the Modules

answered