We are using Workflow.retry with the java sdk and wanted to know the following:
- Is there a way to get the retry attempt number inside the Workflow.retry method? Similar to Activity.getExecutionContext().getInfo().getAttempt()?
- We also observed that when using Workflow.retry, in the temporal UI, Mutable Side Effect event is recorded along with Timer Started and Timer Fired per retry attempt. Does this mean using Workflow.retry results in significantly more number of Actions and hence is inherently costlier?