Effect CommunityEC
Effect Community2mo ago
5 replies
Trokadero

Retry Approach for Compensation Operations in Workflows

What would be the recommended approach for retries when attempting compensation operations within Workflows in a durable way ?

I'd have assume that an Activity could be defined within withCompensation with a retry policy in order to benefit from the same durability characteristics of the workflow when compensating. Unfortunately withCompensation doesn't allow Effects returning errors, thus no retry policy can be passed.

Is it simply not supported or am I missing something ?
Was this page helpful?