Advanced Workflows Not Working

Andrea McCabe asked on February 7, 2020 23:02

So I have this scenario:

Users are part of a role called NAITSA Editors. They should be able to submit news but not approve news except for a single post called daily food specials.

The first step seems to work fine, that single post goes straight to be published. But when a NAITSA Editor submits a new post they can approve it. They are submitting through a front end contributor form.

Image Text

Correct Answer

Dat Nguyen answered on February 11, 2020 06:21

You should do the following:

  1. Remove the Daily Food Specials page from workflow.
  2. Remove the Daily Food Specials condition from the advanced workflow steps.
  3. Remove the Manage workflow permissions from the NAITSA role.

This way, any saved changes to Daily Food Specials page is published immediately, and NAITSA users can't approve the other news pages.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Andrea McCabe answered on February 7, 2020 23:03

0 votesVote for this answer Mark as a Correct answer

Dat Nguyen answered on February 8, 2020 04:04

Check if the role has Manage workflow permissions in the Content module. That permission allows users to approve and publish.

1 votesVote for this answer Mark as a Correct answer

Andrea McCabe answered on February 10, 2020 16:11

Hi Dat,

The NAITSA Role has Manage Workflow checked off for their permissions. If that isn't checked off then the Daily Food Specials posting won't publish.

Andrea M.

0 votesVote for this answer Mark as a Correct answer

Andrea McCabe answered on February 11, 2020 18:27

Hi Dat,

That worked.

Thanks,

Andrea M.

0 votesVote for this answer Mark as a Correct answer

Andrea McCabe answered on February 11, 2020 19:46

Hey Dat,

I've run into a secondary problem where no notifications are being sent out one the NAITSA Editors submits their post for approval.

Screen shot of settings

On the front end form the NAITSA Editor can see this message: You are not authorized to approve the page. Page is currently using Advanced News & Announcements workflow and is in NAITSA Editor step.

Thanks,

Andrea M.

0 votesVote for this answer Mark as a Correct answer

Dat Nguyen answered on February 11, 2020 20:10

It seems that it doesn't advance past the NAITSA editor step after the editor submits. If you have any security settings in the "Is not NAITSA" condition, clear them and see if it changes.

If the above doesn't apply, you mentioned that the editor submits through a front-end form; perhaps your back end code needs to push the page through the next workflow step once it is inserted in the tree.

0 votesVote for this answer Mark as a Correct answer

Andrea McCabe answered on February 11, 2020 23:26

Hey Dat,

So there are no security settings on the Is Not NAITSA condition.

We're using the regular built in Kentico Contribution List Web Part and we haven't done any customization to it.

Andrea M

0 votesVote for this answer Mark as a Correct answer

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