Using an Auto Logic with a Multiple Row Data Source (Parent Question)

Applies to Infiniti v8.0 or later
 

 

When using an Auto Logic question to include content based on value(s) sourced from a multiple-row data source an important distinction needs to be made:

  • The auto logic question is to include a single piece of content based on the values across the entire record set. For example, if an extra page of information is to be included at the end of the document if at least one DangerousGoods field is equal to ‘TRUE’.
  • The auto logic question is to include content based on each record. For example, include the words ‘paid’ or ‘funds outstanding’ in the document for each customer based on an Amount Owing field within the customer record.

Depending on which of the above is chosen, the Auto Logic question must/must not have a Parent Question property set.

  • When the parent question property is not set, the logic is processed across the entire record set.
  • When the parent question property is set, the logic is processed for each record.

 

Auto Logic across multiple records

 

After configuring a multiple row data source question add an Auto Logic question to the project. Give it an appropriate name and navigate to the Rules tab of the question's Answer.

Note: Do not assign a parent question to the Auto Logic.

Note: The ‘Repeating Question:’ drop down is available allowing you to choose if every answer or a single answer (field within the data source) needs to match. Configure your rule(s) as per the screen shot below.

 

 

Auto Logic is for each record

Once again, configure a multiple-row data source question and add an Auto Logic question to the project. This time navigate to the question's ‘Parent’ tab and set the Parent Question Property.
Set appropriate rules for the Auto Logic Answer as per the screen shot below

 

 

Related Articles

 

Keywords

auto logic multiple row data source parent question autologic