Thanks for your answer, On Tue, 12 May 2009 11:59:02 +0200, Andreas Hartmann <[email protected]> wrote: > Florent André schrieb: >> Hi Christopher, >> >> Great thanks I can do one step, now I can submit my document. >> >> But I still not arrived to publish my doc... >> >> My code to submit a Lenya document (that's work, thanks) is [1]. But when >> I >> add the invoker.invoke with "workflow.publish", > > >> I have an "error-workflow-document" in my UsecaseMessage > > That usually means the workflow transition coulnd't fire. Are you sure > the document is in the correct state and the user has the permission to > publish it?
Yes, this is my test usecase : - open an authoring page - connect with a super-user in Lenya - open a new tab and fire my pipeline lenya/dev/modules/docWriter/testwriter When I just submit my doc with the invoker.invoke, I can publish it in the user interface (with my super-user). > What are the parameters of the message? - To see this parameters, I do that in my code : message.getParameters().toString() - When I have the error the output is : [Ljava.lang.String;@7f7d2d I have to say that I really don't understand what it mean... [[...]] Thanks ! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
