Defining associations to follow
Associations help you in archiving related forms together. When you set archive on a form, defining associations to follow allows you to archive all or specific related forms. For more information about using associations, see Associations-overview.
Before you begin
- You must create all the relationships between the forms using associations object. For information about creating associations, see Creating-associations.
- You must have configured your archive from the Archive panel in the Definitions tab of that form. For information about configuring data archiving, see Configuring-data-archiving-for-a-form.
To define associations that need to follow during form archive
- Open the form with which you want to archive.
- Select the Definitions tab.
Expand the Associations to Follow for Archive panel.
- Select the option for defining associations that needs to be archived with the form. The list displays the associations to follow options as per level of precedence.
- Follow Parent — This option inherits parent settings. If you select this option, the option specified for the parent form is applied to the child form. For example, if “All Enforced” option is selected for the parent form, the child form also follows “All Enforced” associations. For more information, see Association to follow example.
- None — No associations are selected to follow for archiving with this form. No related forms will be archived.
- Selected — Only the selected associations are archived. When you choose this option, you can select the associations and the related forms that you want to archive.
- All Enforced — All enforced associations are followed for archiving. After you choose this option, all enforced associations are automatically marked as selected in the associations list. If required, unenforced associations can also be selected from the associations list.
All — All the associations for this form are archived. Generally, this option is not used for archiving. If you select this option, associations not meant for archiving are also included.
- Save the form.
Association to follow example
The following image displays an example which will help you understand how associations are followed during archiving.
Following table illustrates associations that will be followed and the forms that will be archived depending on the Associations to follow for Archive setting defined for each form.
Form A | Form B | Form C | Associations that will be followed for archiving | Forms that will be archived |
---|---|---|---|---|
Selected (AB, AC) | Follow Parent | Follow Parent |
| A, B, C |
All Enforced | Follow Parent | Follow Parent |
| A, B, D |
All Enforced | Selected (BE) | Follow Parent |
| A, B, E |
All Enforced (with AC selected) | Follow Parent | All Enforced or Follow Parent |
| A, B, C, D, F |
Selected (AB, AC) | None | All Enforced |
| A, B, C, F |
Selected (AC) | All | All |
| A, C, F, G |
All | Follow Parent | Selected (CG) |
| A, B, C, D, E, G |
All | None | All Enforced (with CG selected) |
| A, B, C, F, G |
Follow Parent | All | All | - | A |