DeleteAndUnpublish Trigger Problem
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
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
1 Posted by Kris on 04 Jan, 2011 04:59 PM
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.
Kris closed this discussion on 04 Jan, 2011 05:00 PM.