I am trying to deploy a workflow using SDF VS code plugin,
I am getting this , it’s a workflow on Purchase order, the others have been deployed with similar info, but there is just one, which is stuck, I don’t have any map to change this key. there is no mention of -2 in the xml, I have tried changing it SALESORDER or CASHSALE, but the error remains same, just reference key becomes whatever I input in recordtypes, -2 is constant.
An error occurred during custom object update.
Details: Invalid recordtypes reference key PURCHASEORDER for recordtype -2.