Tuesday 5 March 2019

Workflow escalation email notification doesn't have comments AX 2012

Workflow escalation email notification doesn't have comments AX 2012

I got a scenario, where I supposed to bring up the comments when an user notified as an escalation email from AX system (AX 2012).

After doing my complete analysing on the issue, I have noticied there is a discrepancy in the correlationId being sent from escalation process to find or track the comment from WorkflowTrackingCommentTable.

\Classes\SysWorkflowWorkItem\escalate -


By passing, the correct correlationId (parent correlationId) in the highlighted texts, brings up the comments in the workflow escalation notification.

We can get the parent correlationId from the wokrlfowWorkItemTable, and Active buffer is identified with the buffer name as workItemTable or from workflowContext.get_WorkflowCorrelationId.

Note : This have been corrected in Dynamics 365 and I'm sure, is there any hotfix released for the bug.

No comments:

Post a Comment

Calculate ledger balance by dimension set in X++ in AX2012/Dynamics 365 FO

There are a variety of ways users can view balances in the general ledger. Some of the most common options are: 1. Trial balance 2. Financia...