I too have gotten the error msg "Undefined attribute 'type', cannot get" when I add a custom event type to my workflow. However, the workflow still runs fine. Also, I've had experience with workflows not returning variables to my templates, so that might be why your debug notices don't appear.
Could you try inserting for instance a mail() function in the execute function to make sure that the event is(n't) run?
Thanks for responding. In my execute I have:
<cod>eZDebug::writeNotice("Start","Workflow placeusers");
</code>
But I never see this debug message, neither when viewing the register page, or when viewing the post registration page. I have added the workflow and then connected it to content publish before/after. As I have from previously postings observed that it would also work for users.
I never get any mail (do you know why, my standard system mail is working fine cause I do get the new user registred email).. But I notice that if I enter something wrong in the above code, for instance not initalizing mail, then I get an error when the user registers in my workflow. So it seems to be executed... After searching my logs (files in log) I have can see my debug messages as weel, they are found in the notice.log. Why dosent they appear on screen.
Yes maybee, I am new to this workflow stuff.. I am just so glad that I am moving forward again.. Thank you very much Eirik.. You have really helped me here... I think my solution is, if I manage to make this workflow much more sustainable after I leave. Secondly, I think that learning how to make EZ workflows is going to hugely increase my possibilities with EZ.
However, again I have had huge problems with EZ due to poor docs... How was I to know that writenotice in my workflows did not write to the debug table in the browser.
Tusen Takk Eirik Tore
You must be logged in to post messages in this topic!