Skip to content
New issue

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

Error "No Value present" if workflow-service has no ProcessService defined #62

Open
stephanpelikan opened this issue Oct 1, 2024 · 0 comments

Comments

@stephanpelikan
Copy link
Collaborator

On building a new workflow service missing the ProcessService injected the error "No Value present" is thrown.

Example:

@Service
@WorkflowService(workflowAggregateClass = MyAggregate.class)
public class MyWorkflowService {
}

Adding these missing lines to the class resolves the problem:

@Autowired
private ProcessService<MyAggregate> processService;

It would be great to get a more meaningful error message hinting the developer what is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant