We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This causes an unpredictable process to start:
@WorkflowService(workflowAggregateClass.class = MyAggregate.class) public class FirstWorkflow { @Autowired private ProcessService<MyAggregate> processService; public void start() { processService.startWorkflow(new MyAggregate()); // <-- this might start process "SecondWorkflow" } } @WorkflowService(workflowAggregateClass.class = MyAggregate.class) public class SecondWorkflow { ... }
This behavior is because there are two primary workflows associated with the aggregate class. The correct annotations are
@WorkflowService(workflowAggregateClass.class = MyAggregate.class) public class FirstWorkflow { ... } @WorkflowService( workflowAggregateClass.class = MyAggregate.class, bpmnProcess = @BpmnProcess(bpmnProcessId = "FirstWorkflow"), secondaryBpmnProcesses = { @BpmnProcess(bpmnProcessId = "SecondWorkflow") }) public class SecondWorkflow { ... }
On wiring VanillaBP should detect thus wrong annotations and hint the developer to fix this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This causes an unpredictable process to start:
This behavior is because there are two primary workflows associated with the aggregate class. The correct annotations are
On wiring VanillaBP should detect thus wrong annotations and hint the developer to fix this.
The text was updated successfully, but these errors were encountered: