Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Kurt Xu
kaleo:An error occurred in the workflow engine
May 5, 2013 2:38 AM
Answer

Kurt Xu

Rank: Junior Member

Posts: 57

Join Date: February 2, 2013

Recent Posts

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.
Attachments: ticket-process-definition.xml (6.2k)
Vishal Panchal
RE: kaleo:An error occurred in the workflow engine
May 5, 2013 7:47 AM
Answer

Vishal Panchal

Rank: Expert

Posts: 277

Join Date: May 20, 2012

Recent Posts

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
May 6, 2013 5:35 PM
Answer

Kurt Xu

Rank: Junior Member

Posts: 57

Join Date: February 2, 2013

Recent Posts

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
Attachments: ticket-process-definition.xml (5.8k)
Saravanan Vedachalam
RE: kaleo:An error occurred in the workflow engine
May 7, 2013 6:25 AM
Answer

Saravanan Vedachalam

Rank: New Member

Posts: 1

Join Date: October 31, 2012

Recent Posts

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
May 7, 2013 8:27 PM
Answer

Vishal Panchal

Rank: Expert

Posts: 277

Join Date: May 20, 2012

Recent Posts

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
May 8, 2013 8:03 AM
Answer

Kurt Xu

Rank: Junior Member

Posts: 57

Join Date: February 2, 2013

Recent Posts

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
May 11, 2013 6:34 PM
Answer

Kurt Xu

Rank: Junior Member

Posts: 57

Join Date: February 2, 2013

Recent Posts

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
May 20, 2013 6:00 AM
Answer

Vishal Panchal

Rank: Expert

Posts: 277

Join Date: May 20, 2012

Recent Posts

Hey Kurt,

Good to hear that an error have disappears.

Thanks,
Vishal