How to create a custum New Button

For example I have two tables: company and customers. In a form I see the company and at the bottom a list with customers of that company. Because I need some manipulations before opening the form Customers I created a custom New button. In the properties I have set Invoke = None and Pass enclosing text = True In the microflow: - The input object is Company - I create the object Customer - Do some manipulations with the data - I open the form Customer. This all works correctly, however when I save the form there is no relation between the Company and the created customer (with a custom New button this works fine). What do I wrong ????
1 answers

You need to add a change action to your microflow which creates the object, and set the relation manually. The new activity of a microflow only creates a new object and does not set any relations.