Troubleshooting Sync Records Smart Service Output Behavior
I'm using the Sync Records Smart Service.
I want to prepare for a situation where the sync fails due to a temporary network error, even though the value to be updated (in this case, pv!targetTrxId) is correctly set in Data > Inputs > Identifiers.
To handle this, I'm implementing the following:
1. Save the value of "Data" > "Outputs" > "Results" > "Records Updated" into pv!updatedTrxId.
2. In the subsequent XOR gateway, I check:
If a!isNullOrEmpty(pv!updatedTrxId) returns true, proceed to "error script".
Otherwise, proceed to "End Node".
The current settings are as shown in the attached image.
Inputs
Outputs
pv!updatedTrxId

("数字(整数)"=Integer)
("倍数 変数は複数の値を保存できます"=Multiple)
Even though pv!targetTrxId has a value and the sync appears to be successful, the flow still proceeds to "error script".
(pv!updatedTrxId is null…)
Why is this happening?
