Expand my Community achievements bar.

SOLVED

ACC Message Center | Error in Processing real time events

Avatar

Level 2

Hi Team

 

We are working on Testing the the Message Center Implementation. During the execution of the OOTB Workflow "Processing real time events" we are encountering below error which is halting the processing of events.

 

09/01/2021 1:17:05 PM    jsx    JST-310000 Error while compiling script 'nms:messageCenter.js' line 541: this.dicInteractionDeliveries[nextEventRes.delivery.@id] is undefined.

 

Also we are able to see the events successfully received in the logs but there are no corresponding deliveries getting created in the Execution instance. Have you ever face such issue before.

 

For you additional information : We are using Midsourcing for delivery and have installed both control and execution package in the same instance.

 

Thanks & Regards

Navin M. S.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @Marcel_Szimonisz 

Thank you for your quick revert. We were able to sort the issue a while back.

As you rightly said, the error in the workflow was not letting the value to be defined to this.dicInteractionDeliveries[nextEventRes.delivery.@id] variable.

 

We did below steps that helped us sort the issue.

 

1. Stopped the workflow - Process real time events

2. unpublished the transactional message template

3. cleansed the events that were not getting processed due to the issue in the workflow

4. republished the templates

5. restarted the workflow - Process real time events

 

Thanks & Regards

Navin M. S.

View solution in original post

2 Replies

Avatar

Community Advisor

Hello @msnavin ,

did you press play on paused and failed workflow? You should restart it. There might be workflow variables that on paused state followed by restart will get undefined.

 

Is it not working every time?

 

If yes, have you assigned the instance? in Deployment wizard on execution instance?

MarcelSzimonisz_0-1630571399005.png

 

And in external account on control instance?

MarcelSzimonisz_1-1630571490912.png

 

Marcel

Avatar

Correct answer by
Level 2

Hi @Marcel_Szimonisz 

Thank you for your quick revert. We were able to sort the issue a while back.

As you rightly said, the error in the workflow was not letting the value to be defined to this.dicInteractionDeliveries[nextEventRes.delivery.@id] variable.

 

We did below steps that helped us sort the issue.

 

1. Stopped the workflow - Process real time events

2. unpublished the transactional message template

3. cleansed the events that were not getting processed due to the issue in the workflow

4. republished the templates

5. restarted the workflow - Process real time events

 

Thanks & Regards

Navin M. S.