Daisy documentation
 PreviousHomeNext 
4.12.22 p:performQueryBook Index4.12.24 p:preparedDocuments (& p:prepareDocument)

4.12.23 p:performWorkflowQuery

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

4.12.23.1 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 :

4.12.23.2 Response

The response will be exactly that of a workflow query.

 PreviousHomeNext 
4.12.22 p:performQuery4.12.24 p:preparedDocuments (& p:prepareDocument)