Workflow emails sent to wrong users

Brandon R asked on September 9, 2019 16:10

For some reason users who are not in our "Workflow Approver" Role are getting the workflow emails. I thought an email can only be sent to the users who are apart of the role. We recently resigned macros but that should not have any impact on the emails.

Any suggestions?

Recent Answers


Brenden Kehren answered on September 9, 2019 16:22

Users who are part of Global Administrator role and are Global Administrators will also receive the email. There's no work around for that aside from writing your own workflow engine. Could this be the issue? What roles are the users who receive the email in?

0 votesVote for this answer Mark as a Correct answer

Brandon R answered on September 9, 2019 16:29

They are all custom roles. We have the following Roles

  • Workflow
  • Foo
  • Foo2

The workflow step is configured so that anyone with the "Workflow" role will get the emails. The approver has the "workflow" role, while Worker1 and Worker2 have both roles Foo and Foo2. They are all editors.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 9, 2019 16:36

Understand, this doesn't answer the question though. What users who should not be getting the emails are and what roles or privilege level are they part of? Are you sure none of them have any other roles assigned to them?

If you look at the first "INFORMATION" point on this documentation page, it states:

"The system sends all workflow emails to users who have the Manage workflow permission, regardless of the settings on the Security tab of a custom workflow step."

So if a user is part of a different role which has the "Manage workflow" permission, they will get emails no matter what. Unfortunately, this is can even be an editor of sorts.

0 votesVote for this answer Mark as a Correct answer

Brandon R answered on September 10, 2019 00:38

Both only have roles "foo" and "foo2". I also checked the module permssions for both roles per your advice and they do not have the manage workflow property checked. Any other ideas you think I can check? Thanks!

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 10, 2019 00:41

So the 2 you mentioned above are the two receiving emails correct?

0 votesVote for this answer Mark as a Correct answer

Brandon R answered on September 10, 2019 01:04

Yes, I think they are the only 2 who are getting these emails when they should not.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 10, 2019 01:12

Do they own the pages or were they the last ones to modify the page?

0 votesVote for this answer Mark as a Correct answer

Brandon R answered on September 10, 2019 02:01

No they haven't touched the page ever, and they do not have access to add anything to the page. The role foo which the users is in only as access to read and browse tree.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.