Class BTDynamicFormsSheetAutomaticInitializationFromOutcome

All Implemented Interfaces:
Serializable, Tool, ValidExecution

Business task to automatically initialize Dynamic Froms Sheets from outcome.

This task creates Dynamic Forms Sheets for all templates that are marked as "auto generable from mobile" in the Mobile Card configuration and have an outcome rule with the "required if auto-generable" flag set to true for the specified outcome reason.

Algorithm:

  1. Launch DynamicFormsTemplateAutoGenerableRequiredSearchEvent to search if there are some Dynamic Form Templates configured as 'auto generable' in Dynamic Forms Outcome Rules for which there are no available Dynamic Form Sheets.
  2. For each template ID, create a new Dynamic Forms Sheet
  3. Associate the sheet with the work order operation using DataCollectionTemplateInsertSheetFromWOOperationEvent
Since:
22.0
See Also:
GCApi:
task