# OperationProvisioningScriptType (Complex Type)

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

Supertype: ProvisioningScriptType
Specifies how and when a script is executed during provisioning.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
$itemDefinition.Name.LocalPart | property ProvisioningScriptHostType | [0,1] |
$itemDefinition.Name.LocalPart | property anyURI | [1,1] |
$itemDefinition.Name.LocalPart | property ProvisioningScriptArgumentType | [0,-1] |
$itemDefinition.Name.LocalPart | property string | [1,1] |
$itemDefinition.Name.LocalPart | property CriticalityType | [0,1] | Defines where the script should be executed (connector or resource).
$itemDefinition.Name.LocalPart | property ProvisioningOperationTypeType | [0,-1] |
$itemDefinition.Name.LocalPart | property ShadowKindType | [0,-1] |
$itemDefinition.Name.LocalPart | property string | [0,-1] |
$itemDefinition.Name.LocalPart | property BeforeAfterType | [1,1] |
$itemDefinition.Name.LocalPart | property ExpressionType | [0,1] |

- ### Items

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [1,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,-1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [1,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Defines where the script should be executed (connector or resource). If no type is specified, it defaults to resource.

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,-1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,-1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,-1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime,AVals:2

    Multiplicity: [1,1]

  - #### $itemDefinition.Name.LocalPart

    Flags: RAM,runtime

    Multiplicity: [0,1]