Class CmmnRestResponseFactory

java.lang.Object
org.flowable.cmmn.rest.service.api.CmmnRestResponseFactory

public class CmmnRestResponseFactory extends Object
Default implementation of a CmmnRestResponseFactory.

Added a new "createProcessInstanceResponse" method (with a different signature) to conditionally return the process variables that exist within the process instance when the first wait state is encountered (or when the process instance completes). Also added the population of a "completed" flag - within both the original "createProcessInstanceResponse" method and the new one with the different signature - to let the caller know whether the process instance has completed or not.

Author:
Frederik Heremans, Ryan Johnston (@rjfsu)