Skip to content

[Temporal Spring-boot Starter] customizing workflow options by workflow type #1984

@sva02

Description

@sva02

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions