Workflow User Group – Approval Notifications
-
Workflow User Group – Approval Notifications
Posted by DSC Communities on March 28, 2019 at 11:02 am-
Government Acquisitions, Inc.
MemberMarch 28, 2019 at 11:02 AM
Good morning all,TLDR;
In a Workflow, when Approver Type is “Workflow User Group”, I am not sure how to set up notifications to send to that Workflow User Group instead of referencing the Approval User Setup table which only has a field for one Approver ID.Potential causes;
– Misunderstanding the purpose of the Approval User Setup Table, or specifically the Approver ID field of that table.
– Misunderstanding how the NOTIFYNOW Job Queue runs or how it determines recipients.
– ?Current Setup;
I have a Quote approval workflow set up to send Approval Requests to a Workflow User Group.
I am having trouble getting Notifications set up to send email to the entire Workflow User Group when a document is pending their approval.Screenshot of the workflow overview below;
So, WHEN: Approval of a sales document is requested, [ON condition omitted], THEN:Ā- Add record restriction
- Set document status to Pending Approval.
- Create an approval request for the record using approver type Workflow User Group and workflow user group code QUO APV.
- Send approval request for the record and create a notification.
Screenshot below of the top line of the workflow;
It is unclear to meĀ to whom the notification will be sent from looking at the Workflow itself. I would expect the Approver Group to get the notification, however, instead a single user is getting all the notifications –Ā and I didn’t specify this userĀ as a recipient anywhere in the setup.The Job Queue Entry “NOTIFYNOW” appears to reference the Approval User Setup table to look for a recipient. This is counterintuitive to me, because I would expect that the entire Workflow User Group get the notification. Even more counterintuitive: as I have not specified an Approver ID, all notifications are being sent to the last Approval User in the list (alphabetically).Ā
Screenshot of the Approval User Setup table below [usernames and emails omitted from screenshot, but are all valid];
What am I missing here? Does this Approver ID field need to be filled just so that it can be ignored? Does this Approver ID field store the sole recipient of all notifications regardless of who the Approval Group is?
How do I get a Notification AND an Approval Request to go to the same group?Resources I have used to set this up;
https://www.navug.com/blogs/kevin-fons/2017/08/02/introduction-to-the-workflow-user-groupsĀ
https://community.dynamics.com/nav/b/chrisdsilvanav/archive/2018/07/17/how-to-send-email-notification-to-users-using-workflowĀ
MSDN’s Workflow guidesThanks in advance for your consideration.
Tags: #Workflow #NAV #Approval #RequestForApproval #UserGroups #ApprovalUserSetup #JobQueue #NotifyNow #Notifications #EmailNotifications #Email ??????????????
——————————
Charlie Staich
Data Analyst
Government Acquisitions, Inc.
gov-acq.com
—————————— -
You may also need to create a line for approvals in the Notification Setup page.Ā This tells the system how to make the notifications.
——————————
David Wiser
Project Manager/Solution Architect
Beck Consulting
Seattle WA
——————————
——————————————- -
Government Acquisitions, Inc.
MemberApril 2, 2019 at 4:13 PM
Thank you for your reply,This is how I have Notification Setup filled out. Screenshot below;
To reiterate, notifications are sending, but they are sending to a completely unexpected single user who does not appear in any of the setups.
I would like notifications for an Approval Request to be sent to the entire Approval Group and I am not sure how to accomplish this.
Regards,
Charlie Staich
——————————————-
DSC Communities replied 6 years, 5 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.
The discussion ‘Workflow User Group – Approval Notifications’ is closed to new replies.