Approval Notification is not getting sent when approval assignment rule is set

Which IIQ version are you inquiring about?

8.4p1

I set the approval assignment rule in the business processes, since I processed this, the approval notification mail is not being sent. I tried to remove it again and try emails are being sent?

Is this a standard process?

Hi @AhmedWaleed

No, it’s not standard process. It doesn’t matter if you are using default approvalScheme or approvalAssignmentRule, notification would get triggered for approvers. Cross check your LCM Variables once (One variable I could remember is ‘approvalEmailTemplate’)

Hello @Arpitha1,

I just retired it again.

Email notification will work when i remove the approval assignment rule from the Approve and Provision Subprocess.

WorkingWorkflowCase.txt (180.4 KB)

When I add the Approval Assign rule, there is no email being sent:

NotWorkingWorkflowCase.txt (179.9 KB)

Also please find my approval assignment rule:
ApprovalAssignmentRule.xml.txt (13.9 KB)

Is the approvals going with approvalAssignmentRule ? If yes, is it going serial or parallel ?

Yes, it serial but I also tried with parallel and still no email notifications were sent

Okay, it means you are able to see approval workitem when you logged in as approver but notification hasn’t been triggered, right ?

Hello @Arpitha1 ,

Yes I can see the approval.

Hi Ahmed,

I compared NotWorkingWorkflowCase.txt and ApprovalAssignmentRule.xml.txt and noticed the following differences. If your goal is to change the owner and description of approvalItems, I would recommend,

  1. Using the incoming Approval to set only the owner and description, rather than creating a new one. It seems you are creating approvals from scratch in addApproval(). It would be better to update the existing approvals instead.
  2. Alternatively, try setting all arguments from the incoming approval.

Hello @Arpitha1,

I don’t understand now, does this mean that if I added a new approval it will not process the approval notification?

I suspect it’s due to missing arguments. You can try any of the mentioned approaches and let me know the result