Website Downloads Documentation Knowledgebase Wiki Issue tracker Commercial support

p:performWorkflowQuery

Returns the result of a query on the workflow manager. These results can be process, task or timer instances.

Request

The syntax is much like a typical workflow query. Here is just a quick overview for a detailed list of options have a look at the workflow query syntax.

<p:performWorkflowQuery type="process|task|timer">
  <p:query>

    <p:selectClause>
      <p:select name="..." type="property|task_variable|process_variable"/>
    </p:selectClause>

    <p:conditions meetAllCriteria="true|false">
      <p:propertyCondition name="process.end" operator="is_null" valueType="datetime"/>

      <p:taskVariableCondition [similar to property conditions] />

      <p:processVariableCondition [similar to property conditions] />

      <p:specialCondition name="relatedToDocument">
        <p:value>
          <p:daisyLink documentId="${id}" branch="${branch}" language="${language}" />
        </p:value>
      </p:specialCondition>
    </p:conditions>

    <p:orderByClause>
      <p:orderBy name="..." type="property|task_variable|process_variable" sortOrder="ascending|descending"/>
    </p:orderByClause>

  </p:query>
</p:performWorkflowQuery>

The differences :

  • The specification what you are looking for in the type attribute of the performWorkflowQuery (process, task or timer).
  • When using daisyLink values you can use the typical publisher expressions.

Response

The response will be exactly that of a workflow query.

Comments (0)
Advertisement

Daisy hosting, installation, support. Workshops and turnkey Daisy CMS projects. Get Daisy from its creators.

outerthought.org

Downloads provided by

SourceForge.net Logo

Open source stats