[midPoint] REST service to update lifecycle

Stéphane Savioz stephane.savioz at ictvs.ch
Fri Feb 22 15:16:20 CET 2019


 

Hi,

 

I am using Midpoint Rest service to update the lifecycle of an object.

 

<objectModification
    xmlns = 'http://midpoint.evolveum.com/xml/ns/public/common/api-types-3'
    xmlns:c='http://midpoint.evolveum.com/xml/ns/public/common/common-3'
    xmlns:t='http://prism.evolveum.com/xml/ns/public/types-3'>
    <t:itemDelta>
        <t:modificationType>replace</t:modificationType>
        <t:path>lifecycleState</t:path> 
        <t:value>Active</t:value>
    </t:itemDelta>
</objectModification>

 

 

I would like to set the lifecycleState to «Active» only if the lifecycleState of the object is « Proposed »

 

How to change my xml query to do that ?

 

 

Thanks

 

 

Stéphane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190222/2a776ee3/attachment.htm>


More information about the midPoint mailing list