-
Notifications
You must be signed in to change notification settings - Fork 192
Description
[Temporal Spring-boot Starter] cannot customize workflow options by workflow type
The temporal spring boot starter doesn't provide the capability of customizing workflow implementations by workflow type.
Although there is WorkflowImplementationOptions.Builder option to use in TemporalOptionsCustomizer, it doesn't provide the flexibility to apply these options by workflow type.
When using the java-sdk, however, this is possible to do so when registering workflow implementations by:
registerWorkflowImplementationTypes(WorkflowImplementationOptions options, Class<?>... workflowImplementationClasses)
Support customizing workflow implementation options by workflow type
Add the capability to customize workflow options by workflow type when using the spring boot starter, as we might not want to apply these options to all workflow types.
** Context / Use Case **
For scheduled workflows, we want to fail the workflow on NonDeterministicException.class.
For the rest of the workflows, this behavior is not desired.
Thank you.