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.

Comments are currently closed for this discussion. You can start a new one.

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