Workflow Domain Object Failed Validation
When a workflow step of type ‘system’ includes a publish action with an attached publish trigger, we get the following error message during workflow at time of publish (which fails):
“An error occurred: A domain object failed validation”
Note that when using an alternate workflow step of type “transition” (assigned to a user) which includes a publish action and an attached publish trigger, the workflow succeeds without error.
I suspect that the issue here has to do with the fact that the later example above is publishing a page on behalf of the assigned user, whereas the former example publishes without an assigned user, perhaps using a generic admin-level user as referenced here:
http://www.hannonhill.com/kb/Workflow-Trigger/available-workflow-tr...
What do we need to do to eliminate the error and have the workflow procede with the system step triggers?
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
Support Staff 1 Posted by Tim on 09 Nov, 2010 09:12 PM
Hi Ken,
In your publish trigger, try specifying the current step owner. For example:
If that doesn't work for some reason, try replacing 'current-step-owner' with 'system':
If you still have problems let me know.
Thanks!
2 Posted by James on 10 Nov, 2010 02:26 PM
Hi Tim,
I am working with Ken on this and have tried those two suggestions, but am still running into the Domain Object error. Please note that this error also occurs if using an email trigger. I have created a single step workflow as follows (generic e-mail address substituted):
Since there are no transition steps in this workflow, no interaction is required. As soon as I start the workflow, I am presented with the error in a red bar across the top: "An error occurred during editing: A domain object failed validation"
Thanks.
Support Staff 3 Posted by Tim on 10 Nov, 2010 03:29 PM
Hi James,
Thanks for that info. I was able to reproduce this locally as well using the steps you supplied above. We'll probably have to debug this to see what's going on. I'll get back to you as soon as I have more info.
Support Staff 4 Posted by Tim on 17 Nov, 2010 05:04 PM
Ken, James,
It looks like this could be a bug. I've created an issue to address the problem here: http://issues.hannonhill.com/browse/CSI-90
Please be sure to track that item. Let me know if you have any further questions.
We apologize for the inconvenience.
Tim closed this discussion on 06 Apr, 2011 06:28 PM.