DeleteAndUnpublish Trigger Problem

Kris's Avatar

Kris

04 Jan, 2011 04:16 PM

I have a delete workflow where the last step fires the DeleteAndUnpublish trigger. Whenever I try to advance that workflow I get this error:

An error occurred: A fatal error occurred while executing trigger com.cms.workflow.function.DeleteAndUnpublish: Error occurred while deleting and unpublishing entity: Roles do not allow you to publish this asset.

The user's role has both "Publish readable Home area assets" and "Publish writable Home area assets" permissions checked. Is there something I am missing?

Thanks,
Kris

  1. 1 Posted by Kris on 04 Jan, 2011 04:59 PM

    Kris's Avatar

    So I have answered my own question. If you don't supply an "authorizing-type" parameter, the workflow owner is the user associated with the publish call. In my case, the owner does not have publish rights. I added the parameter with a value of current-step-owner since that user is approving the deletion and has publish rights and everything works fine now.

  2. Kris closed this discussion on 04 Jan, 2011 05:00 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM