My project is in java-springboot. I want to externalise activity options while creating stub for activity in workflow. There are multiple activities and retry options for all will be different.
I tried using @RequiredArgsConstructor and injecting the config file which gets initialised from yml file but this makes the workflow un-deterministic and hence threw an error.
How can i achieve this?