# ResourceObjectLifecycleDefinitionType (Complex Type)

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

Definition of resource object lifecycle handling. It defines how the initial lifecycle state is determined, constraints for lifecycle transitions, etc.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
lifecycleState | container ResourceBidirectionalMappingType | [0,1] | Lifecycle state mapping.
purpose | container ResourceBidirectionalMappingType | [0,1] | The outbound mapping for shadow purpose.

- ### Items

  - #### lifecycleState

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Lifecycle state mapping. This mapping influences how shadow lifecycle state and focus lifecycle state are mapped. Reserved for future use. Note that the original outbound mapping for shadow lifecycle (from 3.6 up to 4.7) was transformed into the "purpose" mapping in 4.8. To avoid confusion, it is considered a configuration error if the outbound mappings are here in 4.8.

  - #### purpose

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    The outbound mapping for shadow purpose. The default mapping is somehow smart algorithm that will consider presence of the focus password, resource password capability, operation and so on, in order to determine whether the purpose of the resource object is "regular" or "incomplete".