Avatar

Community Advisor

@AbhijeetSrivastava  As mentioned in the error message. You are missing the primary key (salesforceID) against which the data should be updated.

 

Your code should be something like this.

xtk.session.Write(<offerActivation _operation="update" _key="@salesforceId"  salesforceId={SALES_FORCE_ID} offerStatus="as" xtkschema="bp:offerActivation"/>

Let me know if that works.