[ACC] - mcSynch_mcExec workflow failing due to ‘[@registrationToken] unknow’

Description


You may encounter mcSynch workflow going into paused state with the following error

Error message
soapImport PostgreSQL error: ERROR:  COPY from stdin failed: Unable to complete operation in current status. CONTEXT:  COPY wkf3886_56147, line 1

soapImport JavaScript: error while evaluating script ‘eventSynch/soapImport’.

 soapImport Attribute ‘registrationToken’ unknown (see definition of schema ‘Real time events (nms:rtEvent)’). Unable to parse expression ‘@registrationToken’.

Note: some version of the software will have a different message:

soapImport Attribute ‘registrationToken’ unknown (see definition of schema ‘Real time events (nms:batchEvent)’). Unable to parse expression ‘@registrationToken’.

Why does this happen?
This is due to the Mobile App Channel package installed on Production but not on RT instance.

RegistrationToken is an added attribute of nms:rtEvent/nms:batchEvent after importing Mobile App Channel package. It will therefore be queried in the step soapImportBatchEvent of the mcSynch, which will cause this error if the package is not installed on RT side, as the attribute will not exists on the RT schema.

Note - We do not recommend installing any package through UI, it should always be requested through a support ticket.


 

Resolution

How to fix it?
As a customer, you would not have UI access to the message center workflow; please raise a support ticket, share the error, and request the support team to install the package and resume the workflow.

On this page