Details
-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
Description
Use Case Context
- STP,
- BPELish Service Compositions
- Unit Testing
When staring a process instance, I cannot access the variables without making an addinitional variable query. Downsides:
- If the process instance did not reach a wait-state, it runs straight through and I can only retrieve the variables from history. Otherwise I can use the runtime service as well
- I need to do an additional query which is not as efficient than having returned the variables right away.
AT:
- When I create a new process instance, the return object includes variables
- the Variables returned are defined as follows:
- process instance scope variables only
- Java and Rest API
NOTEs by thorben.lindhauer:
- we should not extend the ProcessInstance interface with a method which returns variables because the same interface is also returned by the ProcessInstanceQuery
- so we must probably create a sub-interface
- But: we cannot have Methods like RuntimeService.createProcessInstanceByXX() return that sub-interface as it would break binary backwards compatibility (code compiled against the old methods signature could not be linked against the new method sign. even if if would still would if re-compiled)
- So we will add a new method to the fluent create process instance builder
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- is related to
-
CAM-6369 In the REST API, starting a process instance should always return its serialized variables
-
- Closed
-