AnsweredAssumed Answered

capturar la propiedad status de un workflow

Question asked by giorgio on May 13, 2009
Buenas, desde la consola de workflows, he conseguido ver esto

Last command: desc task jbpm$110
Duration: 27ms
—– 
id: jbpm$110
name: wf:reviewTask
title: Revisar
description: Revisar documents per Aprovar-los o Rebutjar-los
state: IN_PROGRESS
path: jbpm$47-@
transitions: 2
transition: reject , title: Rebutjar , desc: Rebutjar
transition: approve , title: Aprovar , desc: Aprovar
properties: 16
{http://www.alfresco.org/model/bpm/1.0}context = workspace://SpacesStore/2aba7571-4b92-4a2b-9444-c6f4835d40d0
{http://www.alfresco.org/model/bpm/1.0}dueDate = null
{http://www.alfresco.org/model/bpm/1.0}description = hola
{http://www.alfresco.org/model/bpm/1.0}pooledActors = []
{http://www.alfresco.org/model/content/1.0}created = 2009-05-13 08:07:10.0
{http://www.alfresco.org/model/bpm/1.0}outcome =
{http://www.alfresco.org/model/bpm/1.0}status = Not Yet Started
{http://www.alfresco.org/model/bpm/1.0}completionDate = null
{http://www.alfresco.org/model/content/1.0}owner = usuario
{http://www.alfresco.org/model/bpm/1.0}packageActionGroup =
{http://www.alfresco.org/model/bpm/1.0}priority = 2
{http://www.alfresco.org/model/bpm/1.0}startDate = null
{http://www.alfresco.org/model/bpm/1.0}percentComplete = 0
{http://www.alfresco.org/model/bpm/1.0}taskId = 110
{http://www.alfresco.org/model/bpm/1.0}package = workspace://SpacesStore/355b51f8-bb7d-4280-b0aa-b92a09393254
{http://www.alfresco.org/model/bpm/1.0}packageItemActionGroup = edit_package_item_actions

lo que me lleva a pensar que la propiedad que cojo con bpm_status es esta:
state: IN_PROGRESS
lo que me lleva a pensar que esta siempre es completed porque es el estado de la tarea concreta aprobar pero no la del workflow entero en si.
deduzco que tengo que coger esta otra propiedad.

{http://www.alfresco.org/model/bpm/1.0}status = Not Yet Started
el tema es como referirme a ella? he probado de muchas maneras ya pero no lo consigo

Gracias y saludos

Outcomes