Class ProcessInstanceCollectionResource

java.lang.Object
org.flowable.rest.service.api.runtime.process.BaseProcessInstanceResource
org.flowable.rest.service.api.runtime.process.ProcessInstanceCollectionResource

@RestController public class ProcessInstanceCollectionResource extends BaseProcessInstanceResource
Modified the "createProcessInstance" method to conditionally call a "createProcessInstanceResponse" method with a different signature, which will conditionally return the process variables that exist when the process instance either enters its first wait state or completes. In this case, the different method is always called with a flag of true, which means that it will always return those variables. If variables are not to be returned, the original method is called, which does not return the variables.
Author:
Frederik Heremans, Ryan Johnston (@rjfsu), Zheng Ji