# WfConfigurationType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Configuration for workflows - for those parts not stored in the system config file.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
modelHookEnabled | property boolean | [0,1] | This property controls the workflow model hook - i.
useLegacyApproversSpecification | property LegacyApproversSpecificationUsageType | [0,1] | How to deal with legacy approvers specifications, i.
useDefaultApprovalPolicyRules | property DefaultApprovalPolicyRulesUsageType | [0,1] | Whether to use default approval policy rules.
executionTasks | container WfExecutionTasksConfigurationType | [0,1] | Configuration related to tasks in which model operations are executed.
approverCommentsFormatting | property PerformerCommentsFormattingType | [0,1] | Instructions how to format approvers comments before storing them into metadata.
primaryChangeProcessor | container PrimaryChangeProcessorConfigurationType | [0,1] | Configuration for PrimaryChangeProcessor.
generalChangeProcessor | container GeneralChangeProcessorConfigurationType | [0,1] | Configuration for GeneralChangeProcessor.

- ### Items

  - #### modelHookEnabled

    Flags: RAM,runtime

    Multiplicity: [0,1]

    This property controls the workflow model hook - i.e. whether each request going through the model subsystem should be processed by the workflow hook. So, if disabled, all requests are executed immediately, without being processed by workflows.

  - #### useLegacyApproversSpecification

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    How to deal with legacy approvers specifications, i.e. approvalRef, approvalExpression, approvalSchema, automaticallyApproved items in AbstractRoleType? The default is "ifNoExplicitApprovalPolicyAction", that means these items are applied only if no explicit approval policy action is encountered.

  - #### useDefaultApprovalPolicyRules

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    Whether to use default approval policy rules. The default is "ifNoApprovalPolicyAction", that means these rules are applied only if no other approval policy action is encountered.

  - #### executionTasks

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration related to tasks in which model operations are executed. EXPERIMENTAL

  - #### approverCommentsFormatting

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Instructions how to format approvers comments before storing them into metadata. EXPERIMENTAL

  - #### primaryChangeProcessor

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for PrimaryChangeProcessor.

  - #### generalChangeProcessor

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Configuration for GeneralChangeProcessor.