End of conversation (End of dialog event)not getting triggered if last node is SCRIPT NODE

When my last node in the dialog task is a script node , end of dialog event is not getting triggered.

I could see this in debug log

[04-19-2020 16:13:04.379 info Message0001

Message Node Initiated
]

[04-19-2020 16:13:04.379 info Standard question ‘Successful task setup’ identified

]

But message node processing is not getting completed and its getting only initiated.

If my last node is a message node, the same End of dialog event (end of conversation) event is getting triggered. The below are the logs if my last node is the message node -

[04-19-2020 16:33:51.220 info Message0001

Message Node Initiated
]

[04-19-2020 16:33:51.462 info Message0001

Bot Response Parsing
]

04-19-2020 16:33:51.501 info Message0001
Bot Response Parsing Successful
]

[04-19-2020 16:33:52.390 info Message0001

Message Node Processing Is Completed
]

[04-19-2020 16:33:52.390 info EOC: Reached end of dialog]

Why is message node processing is not getting completed if my last node is SCRIPT node

Hi @developercomm,

Apologies for the delay in response.

We have tried replicating the issue.
But, we could observe that the “End of the conversation event” is getting triggered even if the last node of the dialog is a script node. (Refer the following screenshot)

image

Kindly check and let us know if you are still facing the issue.

Regards,
Yoga Ramya.