06-15-2012 11:00 AM
06-18-2012 04:35 AM
/** The business key for this execution. Only returns a value if the delegate execution
* is a process instance.
*
* @deprecated use {@link #getProcessBusinessKey()} to get the business key for the process
* associated with this execution, regardless whether or not this execution is a
* process-instance.
*/
String getBusinessKey();
06-18-2012 08:47 AM
What about the "getProcessBusinessKey()" on the DelegateExecution? This should return the business-key set at the beginning not the process… The getBusinessKey() will only work if the execution you're using is the process-instance itself.
/** The business key for this execution. Only returns a value if the delegate execution
* is a process instance.
*
* @deprecated use {@link #getProcessBusinessKey()} to get the business key for the process
* associated with this execution, regardless whether or not this execution is a
* process-instance.
*/
String getBusinessKey();
06-18-2012 09:00 AM
ProcessInstance pi = runtime.createProcessInstanceQuery().processInstanceBusinessKey("myKey").singleResult();
List<Execution> executions = runtime.createExecutionQuery().processInstanceId(pi.getId().list();
06-20-2012 06:54 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.