# 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
--- | --- | --- | ---
host | property ProvisioningScriptHostType | [0,1] |
language | property anyURI | [1,1] |
argument | property ProvisioningScriptArgumentType | [0,-1] |
code | property string | [1,1] |
criticality | property CriticalityType | [0,1] | Defines where the script should be executed (connector or resource).
operation | property ProvisioningOperationTypeType | [0,-1] |
kind | property ShadowKindType | [0,-1] |
intent | property string | [0,-1] |
order | property BeforeAfterType | [1,1] |
condition | property ExpressionType | [0,1] |

- ### Items

  - #### host

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

  - #### language

    Flags: RAM,runtime

    Multiplicity: [1,1]

  - #### argument

    Flags: RAM,runtime

    Multiplicity: [0,-1]

  - #### code

    Flags: RAM,runtime

    Multiplicity: [1,1]

  - #### criticality

    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.

  - #### operation

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,-1]

  - #### kind

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,-1]

  - #### intent

    Flags: RAM,runtime

    Multiplicity: [0,-1]

  - #### order

    Flags: RAM,runtime,AVals:2

    Multiplicity: [1,1]

  - #### condition

    Flags: RAM,runtime

    Multiplicity: [0,1]