Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Kurt Xu
kaleo:An error occurred in the workflow engine
5. Mai 2013 02:38
Antwort

Kurt Xu

Rang: Junior Member

Nachrichten: 55

Eintrittsdatum: 2. Februar 2013

Neue Beiträge

Hello, I'm learning kaleo on liferay 6.1.1 ce, when I follow what said in this article and upload the definition xml in workflow portlet under control panel to create a new definition, it throws error :An error occurred in the workflow engine. No details are told. You can find my definition.xml in the attachment. I don't think there are some syntax errors in it cause it is made with liferay developer ide.
Anhänge: ticket-process-definition.xml (6,2k)
Vishal Panchal
RE: kaleo:An error occurred in the workflow engine
5. Mai 2013 07:47
Antwort

Vishal Panchal

Rang: Expert

Nachrichten: 277

Eintrittsdatum: 20. Mai 2012

Neue Beiträge

Hi Kurt,

Let me know that this error comes on UI when we have mistake in our workflow definition.

Further, I checked your definition file and found that you don't have appropriate mapping for "QA Join" which you have mentioned in you definition file on line no.94
<transition>
<name>Pass To QA Join</name>
<target>QA Join</target>
</transition>

This is the mistake I found , correct it and try to upload it again.

please feel free to ask if anything comes again..emoticon

Have a great day ahead..!

Thanks&Regards,
Vishal R. Panchal
Kurt Xu
RE: kaleo:An error occurred in the workflow engine
6. Mai 2013 17:35
Antwort

Kurt Xu

Rang: Junior Member

Nachrichten: 55

Eintrittsdatum: 2. Februar 2013

Neue Beiträge

Vishal Panchal:
Hi Kurt,

Let me know that this error comes on UI when we have mistake in our workflow definition.

Further, I checked your definition file and found that you don't have appropriate mapping for "QA Join" which you have mentioned in you definition file on line no.94
<transition>
<name>Pass To QA Join</name>
<target>QA Join</target>
</transition>

This is the mistake I found , correct it and try to upload it again.

please feel free to ask if anything comes again..emoticon

Have a great day ahead..!

Thanks&Regards,
Vishal R. Panchal


Hello Vishal:
thank you for the helpful reply, I removed the QA Join but still fail to import it to liferay. Updated xml is uploaded, pls take a look at it, thank you so much!

Regards,
Kurt
Anhänge: ticket-process-definition.xml (5,8k)
Saravanan Vedachalam
RE: kaleo:An error occurred in the workflow engine
7. Mai 2013 06:25
Antwort

Saravanan Vedachalam

Rang: New Member

Nachrichten: 1

Eintrittsdatum: 31. Oktober 2012

Neue Beiträge

Hi Kurt,

Did you manage to resolve this issue ?
Since I too get the same error even with the basic multi approver workflow.

Thanks,
Sarav
Vishal Panchal
RE: kaleo:An error occurred in the workflow engine
7. Mai 2013 20:27
Antwort

Vishal Panchal

Rang: Expert

Nachrichten: 277

Eintrittsdatum: 20. Mai 2012

Neue Beiträge

Hi Kurt,

I was busy with some work.

I went through your workflow definition and found some more basic mistakes.

I suggest you to first try to understand single-approval- workflow definition file which liferay provides as default.
Then make a simple fork/join example.

you can get some good stuff and examples from below thread.
http://www.liferay.com/community/forums/-/message_boards/message/6505594

The tags used in single-approval-workflow definition are described here

Meanwhile if I will get time I will correct your definition file and upload it here again.

Thanks,
Vishal Panchal
Kurt Xu
RE: kaleo:An error occurred in the workflow engine
8. Mai 2013 08:03
Antwort

Kurt Xu

Rang: Junior Member

Nachrichten: 55

Eintrittsdatum: 2. Februar 2013

Neue Beiträge

Vishal Panchal:
Hi Kurt,

I was busy with some work.

I went through your workflow definition and found some more basic mistakes.

I suggest you to first try to understand single-approval- workflow definition file which liferay provides as default.
Then make a simple fork/join example.

you can get some good stuff and examples from below thread.
http://www.liferay.com/community/forums/-/message_boards/message/6505594

The tags used in single-approval-workflow definition are described here

Meanwhile if I will get time I will correct your definition file and upload it here again.

Thanks,
Vishal Panchal


Hello Vishal:
I made the xml using liferay developer studio according to this, and didn't get any clue from reading through single-approval-workflow definition, I'll do more research and read the thread you mentioned, I'll update the thread if I solve it. Thanks for your information.
Kurt Xu
RE: kaleo:An error occurred in the workflow engine
11. Mai 2013 18:34
Antwort

Kurt Xu

Rang: Junior Member

Nachrichten: 55

Eintrittsdatum: 2. Februar 2013

Neue Beiträge

Vishal Panchal:
Hi Kurt,

I was busy with some work.

I went through your workflow definition and found some more basic mistakes.

I suggest you to first try to understand single-approval- workflow definition file which liferay provides as default.
Then make a simple fork/join example.

you can get some good stuff and examples from below thread.
http://www.liferay.com/community/forums/-/message_boards/message/6505594

The tags used in single-approval-workflow definition are described here

Meanwhile if I will get time I will correct your definition file and upload it here again.

Thanks,
Vishal Panchal

Hello Vishal :
I tried again and read through the log discovering that I defined a nonexisting user oasis in task Project Management, after I change it to another existing user, the error disappeared. Not have much more time for trying any longer cause I have more urgent task now, when I get time for it, I will update the thread.
Thanks.
Vishal Panchal
RE: kaleo:An error occurred in the workflow engine
20. Mai 2013 06:00
Antwort

Vishal Panchal

Rang: Expert

Nachrichten: 277

Eintrittsdatum: 20. Mai 2012

Neue Beiträge

Hey Kurt,

Good to hear that an error have disappears.

Thanks,
Vishal