0 Replies Latest reply on Jul 17, 2012 8:12 AM by juliojfc

    Help with TaskManagerService.processSearch from Flex

    juliojfc Level 1
      I am trying to use TaskManagerService.processSearch from Flex (and from C#) but I am having trouble populating the conditions array.
      All the documentation and examples I could find were in java, and thus use addContidion()... which I do not have access to.

       

      What I'm after is an Object (or XML) representation of a processSearchFilter.

      I am trying with something like:

       

      {

      conditions:[{property:"provCar.RequestID", operator:"=",value:"53"}],

      serviceName:"SBDBWorkflow/RequestWorkflow"

      }

       

      and I am getting an error saying my condition cannot be cast to com.adobe.dsc.filter.Condition!

       

      If I use:

      {

      conditions:[{name:"provCar.RequestID", operator:"=",value:"53"}],

      serviceName:"SBDBWorkflow/RequestWorkflow"

      }

       

      the condition is ignored and I get back all my process instances.

       

      Any idea what I am getting wrong on the Condition object?

       

      TIA

      julio