03-09-2011 03:11 PM
03-13-2011 07:45 AM
03-13-2011 04:25 PM
ExecutionEntity exe = … //the code you already have
ProcessDefinitionEntity pde = (ProcessDefinitionEntity) ((RepositoryServiceImpl) repositoryService)
.getDeployedProcessDefinition("your_process_definition_id"); //this can be cached
List<PvmTransition> out = pde.findActivity(exe.getActivityId()).getOutgoingTransitions();
(tried it with Activiti 5.3)03-14-2011 05:38 AM
03-14-2011 05:58 AM
03-14-2011 02:16 PM
03-14-2011 03:43 PM
So, I don't understand how this is bad bpmn20 style?
- ConditionExpression, allowed only for Sequence Flow out of Gateways, MAY be null.
- Default is an attribute of a sourceRef (exclusive or inclusive) Gateway.
- Multiple outgoing connections are only allowed for converging Gateways.
- Multiple outgoing connections are only allowed for diverging Gateways.
- ConditionExpression, allowed only for Sequence Flow out of Gateways, MAY be null.
- Default is an attribute of a sourceRef (exclusive or inclusive) Gateway.
An Activity MAY be a source for Sequence Flows; it can have multiple outgoing Sequence Flows. If there(no mention of conditions here)
are multiple outgoing Sequence Flows, then this means that a separate parallel path is being created for each
Sequence Flow (i.e., tokens will be generated for each outgoing Sequence Flow from the Activity).
…Multiple outgoing Sequence Flows with conditions behaves as an inclusive split. A mix of multiple outgoing Sequence
Flows with and without conditions is considered as a combination of a parallel and an inclusive split as shown in the Figure 13.1.
Basically, I want to be able to have the user choose the next sequence.
How else can I offer the user a choice of the available sequence flows?
I don't want to offer the user a hardcoded set of choices that I have to update every time I decide to add another outgoing sequenceFlow….
03-15-2011 10:44 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.