Error at Activiti Explorer when Sub process Called
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2014 12:45 AM
Hi,
I created a main process where I have a sub process call thro' "Call Activity". I am able to complete all user tasks successfully before the "Call Activity". The "Call ACtivity" is able to call the sub process. When I logged in into first assignee, I do not have the defined forms. In the inbox, I am able to see the task. But without form. I attached the complete error message. Please someone help me to solve this issue.
Thanks in advance.
Regards,
Raj
I created a main process where I have a sub process call thro' "Call Activity". I am able to complete all user tasks successfully before the "Call Activity". The "Call ACtivity" is able to call the sub process. When I logged in into first assignee, I do not have the defined forms. In the inbox, I am able to see the task. But without form. I attached the complete error message. Please someone help me to solve this issue.
Thanks in advance.
Regards,
Raj
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2014 04:29 AM
The exceptions seems to hint there is something wrong with the form:
Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at org.activiti.engine.impl.form.StringFormType.convertModelValueToFormValue(StringFormType.java:38)
Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at org.activiti.engine.impl.form.StringFormType.convertModelValueToFormValue(StringFormType.java:38)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2014 07:33 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2014 07:57 AM
Can you double-check what the type of all variables in the activiti:in are, at the point where the call activity is started (can be done in ACT_RU_VARIABLE table)? There is a boolean in there somewhere, probably passed from the super-process that you're trying to use as a String-field instead…
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2014 01:49 AM
Dear Mr. Freder,
Thanks a lot for your suggestion. I fixed this bug with reference to your suggestion.
There was no boolean variable in "activiti:in". What happened was that I did null check for the fields in the input of "Call Activity". The activiti engine created all those parameters as boolean columns in ACT_RU_VARIABLE table. That's why, I got ClassCastException.
I have another smallest issue. I defined a parameter called "BankFeedback" inside the subprocess. The data in the "BankFeedback" form is not coming from sub process to parent process. I attached my bpmn file herewith for your reference.
Thanks again.
Regards,
Rajendiran R
Thanks a lot for your suggestion. I fixed this bug with reference to your suggestion.
There was no boolean variable in "activiti:in". What happened was that I did null check for the fields in the input of "Call Activity". The activiti engine created all those parameters as boolean columns in ACT_RU_VARIABLE table. That's why, I got ClassCastException.
I have another smallest issue. I defined a parameter called "BankFeedback" inside the subprocess. The data in the "BankFeedback" form is not coming from sub process to parent process. I attached my bpmn file herewith for your reference.
Thanks again.
Regards,
Rajendiran R
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2014 02:27 AM
Dear Mr. Freder,
I fixed the above mentioned issue. Thanks for your help.
Regards,
Rajendiran R
I fixed the above mentioned issue. Thanks for your help.
Regards,
Rajendiran R
