API Questions on Kentico API.
Version 6.x > API > Help regarding workflow View modes: 
User avatar
Member
Member
kiat-earth9 - 7/19/2012 7:26:44 AM
   
Help regarding workflow
I got a few questions regarding workflow for kentico 6.0.
Currently i have a 3 step workflow,
Edit -> Role A -> Role B -> Role C -> Publish.

I understand that anyone from Role A B C is able to checkout after publishing to edit the document.

1 - After publishing the workflow, I would like an email sent to all the users in the 3 steps. How can i achieve that ?

2 -If Role C rejects the workflow, i would like an email sent to both Role A and B. How do i achieve that as well ? Currently the workflow seems to be only able to send an email one step up or one step down.

3 - For my Role C, i do not want to give him edit rights for the documents, but yet i want him to still be able to approve or reject the workflow, how do i do that ? For example, after the document is published, role C can checkout to edit before sending it to Role A. I want to remove role C's right to make changes to the document.
Role C's role is just to approve and reject, he should not have any edit rights.

Help is greatly appreciated. thanks

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 7/21/2012 9:33:53 AM
   
RE:Help regarding workflow
Hello.

Any user can be denied access to a given document and prevented from checking out the document.

The workflow process automatically notifies the members of the authorized roles that there's a document waiting for their approval. It also sends a notification to the document author (the user who last edited the document in the Edit step and sent it to the next workflow step) when the document status changes. Lastly, a notification is also sent to all users who have the Manage workflow permission for all content.

For questions 1 & 2, this process would happen automatically if the users have the Manage workflow permission for all content
devnet.kentico.com/docs/devguide/index.html

3.) You cannot allow a user to check-in/check-out, and/or approve and reject a document in the workflow without allowing the user to edit the document. The workflow events are consired editing a document, so you cannot deny the user edit permissions, and allow them to access the workflow. You cannot have a role tht can only approve and reject, without the edit rights.

Best Regards,
Radek Macalik