Although there are already many topics with the same issue, my problem is a bit diferent…it is not nested transactions…but 2 diferent serial transactions.
I have a Flow that:
2.1 StartTransaction A
2.3 CommitTransaction A
3.1 RollBackTransaction A
outside try-catch (2-3)
6.1 StartTransaction B
6.2 LockRecord (updates fields in DB)
6.3 CommitTransaction B
7.1 RollBackTransaction B
2.2 occurs normally
4 also works ok
6.2 does not work returning the error:
Unable to invoke adapter service from 6.2.
[ART.117.4011] Adapter Runtime (Adapter Service): Unable to connect to resource XXXXXX The resource is already being used in a parent transaction.
Cant seem to figure out the problem…
Already read several posts with similiar problems…