04-03-2013 04:25 AM
List<Task> tasks = taskService.createTaskQuery()
.processVariableValueEquals("status", "12")
.orderByProcessInstanceId().asc().list();
04-03-2013 05:01 AM
/**
* Only select process instances which have a global variable with the given value. The type
* of variable is determined based on the value, using types configured in
* {@link ProcessEngineConfiguration#getVariableTypes()}.
* Byte-arrays and {@link Serializable} objects (which are not primitive type wrappers)
* are not supported.
* @param name name of the variable, cannot be null.
*/
ProcessInstanceQuery variableValueEquals(String name, Object value);
04-03-2013 10:03 AM
ProcessInstanceQuery (runtimeService.create….):
/**
* Only select process instances which have a global variable with the given value. The type
* of variable is determined based on the value, using types configured in
* {@link ProcessEngineConfiguration#getVariableTypes()}.
* Byte-arrays and {@link Serializable} objects (which are not primitive type wrappers)
* are not supported.
* @param name name of the variable, cannot be null.
*/
ProcessInstanceQuery variableValueEquals(String name, Object value);
04-03-2013 10:05 AM
04-04-2013 12:50 AM
It help a lot of you read through our API-javadocs for a start, before asking on the forum. We try to make the API as clear as possible so it takes just a few minutes to run though it.
http://activiti.org/javadocs/index.html
04-04-2013 04:55 AM
04-06-2013 02:31 AM
No worries… Just making sure our hard-work in the documentation pays off in the best possible way
04-06-2013 02:34 AM
04-06-2013 06:59 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.