hello, I have a simple workflow that updates postgres row from a returned payload with set variables, issue is some workflows that are triggered return differently organized variables and postgres mistakes it for wrong one when adding. For example. here is what i setup the workflow to do and variables
0 {2}
ChargeType: MarketplaceFacilitatorTax-Shipping
ChargeAmount {2}
CurrencyCode: USD
CurrencyAmount: 0
1 {2}
ChargeType: MarketplaceFacilitatorTax-Principal
ChargeAmount {2}
CurrencyCode: USD
CurrencyAmount: 0
Now when I receive a payload with differently organized variables or variable might be missing like this…
as you can see it is ‘0’ and in the workflow i setup ‘0’ is for “marketplace_facilitator_tax_shipping” but because it is missing it mistakes it and adds it as that instead of what is returned from the payload which should be “MarketplaceFacilitatorTax-Principal”
Postgres mistakes this and adds it under the “marketplace_facilitator_tax_shipping” column in the database
Any way to solve this?
