7.39Compensation
Example:
create Salesforce
↓
create Billing
↓ FAIL
Possible compensating action:
deactivate Salesforce record
or:
set Integration_Status__c = "PENDING_BILLING"
or:
queue billing operation for later retry
This is similar to a Saga pattern.
Strong sentence:
“For cross-system side effects I assume partial state is possible and design compensation or reconciliation rather than assuming an exception gives me distributed rollback.”
Senior answer.