# ActivitySimulationStateType (Complex Type)

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

State related to the "simulated" execution of this activity (and its children).

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
resultRef | reference ObjectReferenceType | [0,1] | Reference to the object into which the results of the simulation should be stored.
resultCreated | property boolean | [0,1] | Was the result created in this activity ("true") or in some of its ancestors or not at all ("false")? We can close it only in the former case, to avoid writing to closed results in follow-on activities.

- ### Items

  - #### resultRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Reference to the object into which the results of the simulation should be stored.

  - #### resultCreated

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Was the result created in this activity ("true") or in some of its ancestors or not at all ("false")? We can close it only in the former case, to avoid writing to closed results in follow-on activities.