variable user for workflow email

Michael D asked on February 5, 2019 20:06

Hi, is it possible to have a users who can approve, reject and make changes be a value from a field on a page?

In the Page app, select a page, click Form tab and this is one field: Image Text

Another page will have a different email.

Then in my workflow, I want an email sent to whichever one is in that field. Image Text

We have 27 different emails. If this doesn't work, I think we'll have to have 27 workflows for each email. Is that right or is there another way?

Let me know if you have any questions and thank you!

Correct Answer

Juraj Ondrus answered on February 6, 2019 11:41

Hi,
Yes, the best option would be upgrading to EMS license and use advanced workflow. Otherwise, you will have to create a custom code to handle the workflow actions and send the emails using the API - this means not using the default workflow notifications.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on February 5, 2019 22:05

Use a role or roles and assign users to them. Then assign that role to the workflow. Then in your content tree, set permissions on the parent node(s) you want them to edit or not. Best way to manage it from a global perspective.

0 votesVote for this answer Mark as a Correct answer

Michael D answered on February 5, 2019 22:26

Thank you for your help.

One problem I see with that is I am sending a ReadyForApproval email. Wouldn't everyone in the role get that email? Even though on a page level, only one of them can actually approve it.

I wouldn't want to blast everyone with an email.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on February 5, 2019 22:29

I see what you're saying now. My suggestion would be to setup some test environment and test possible solutions since I don't have a very good solution for you at the moment.

0 votesVote for this answer Mark as a Correct answer

Michael D answered on February 5, 2019 22:33

I think the solution would be advanced workflows where I can code things myself (though I've never played with it) but I think that's available with Kentico EMS; we only have Ultimate.

0 votesVote for this answer Mark as a Correct answer

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