0
votes

Some rows in my Master table require a row in the Detail table, while others don't. When a new Master record is created, how can I force creation of a Detail row, depending on the value of a column in the Master row?

1

1 Answers

1
votes

You can add a Process that will run on page submit that will insert it.

Set its sequence so that it executes after all the other DML processes (including the Detail tabular form or IG processes) have completed.

Put a Condition on it so it only runs if no records are found in the Detail table. This could be based on a simple "No Rows Returned" condition.

You will need to ensure that the relevant data from the Master table is available, e.g. the Master record ID. You may need to check the Return Key Into Item property on the DML process.