Change Workflow Process state via AML

Hello,

We're cleaning up some InBasket tasks and some seem to be stuck on "Active" when their associated ECNs are released. I've tried manually changing the Workflow Process to be in the "Closed" state with the following AML call to fix the issue but for whatever reason it doesn't seem to be taking.

Has anyone else achieved something similar with success?

<AML>

  <Item type="Workflow Process" action="edit" version="0" where="name='ECN-131963' and is_current='1'">

    <state>Closed</state>

   </Item>

</AML>

Parents Reply Children
No Data