Form validation error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2015 03:34 AM
Hi,
I am creating a medium complexity workflow in Activiti cloud app.
I used inline forms in the workflow.
When I tried to validate the form, it shows that my form have some validation error.
Usually, it will show a small red "x" mark near the form field which needs attention and to be fixed.
However, in my inline form, there is no "x" mark indication of error in the form.
Still, it shows that the form has validation errors.
I am not sure how to overcome this issue.
Please help.
I am creating a medium complexity workflow in Activiti cloud app.
I used inline forms in the workflow.
When I tried to validate the form, it shows that my form have some validation error.
Usually, it will show a small red "x" mark near the form field which needs attention and to be fixed.
However, in my inline form, there is no "x" mark indication of error in the form.
Still, it shows that the form has validation errors.
I am not sure how to overcome this issue.
Please help.
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2015 12:17 PM
The validation error will be identified in the REST response to the /editor/validate call.
Use your favorite Browser Dev tools (e.g. Firebug) to monitor the response to this call and it will tell you what the validation error is.
Use your favorite Browser Dev tools (e.g. Firebug) to monitor the response to this call and it will tell you what the validation error is.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2015 12:20 AM
<img src="http://4.bp.blogspot.com/-W85GLOkh5FU/Vlk4eFIuhkI/AAAAAAAAAPc/Hntxd0c-veE/s1600/Workflow%2BError.jpg" alt="Mountain View" style="width:600px;height:400px;">
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2015 12:24 AM
Hi gdharley,
Thank you for the solution.
I have found out the problem and resolved it.
Now the forms and process model have no validation errors.
I created the app for my process and tried to publish it.
Unfortunately, the problem arises again.
The Activiti is not allowing me to publish and throws an error as:
Model "Sample Process" has validation errors and cannot be added to an app definition. Open the model in the editor to see more details about the validation error(s).
I am not sure why this happens.
When my entire process and its forms have no error, I couldnt spot out the error thrown while publish.
Can you please help me with this
Thank you for the solution.
I have found out the problem and resolved it.
Now the forms and process model have no validation errors.
I created the app for my process and tried to publish it.
Unfortunately, the problem arises again.
The Activiti is not allowing me to publish and throws an error as:
Model "Sample Process" has validation errors and cannot be added to an app definition. Open the model in the editor to see more details about the validation error(s).
I am not sure why this happens.
When my entire process and its forms have no error, I couldnt spot out the error thrown while publish.
Can you please help me with this

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2015 02:42 AM
Hi,
Also this REST call should return the validation errors found in the model. If you can't see the any problems, would it be possible to share the app so I can try to reproduce it?
Best regards,
Also this REST call should return the validation errors found in the model. If you can't see the any problems, would it be possible to share the app so I can try to reproduce it?
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2015 04:40 AM
I have uploaded my app file under Google Drive. (Sample.zip)
Below is the link to access:
https://drive.google.com/file/d/0BxNY8JusUN2AZnhZemNDWlBTd1E/view?usp=sharing
Below is the link to access:
https://drive.google.com/file/d/0BxNY8JusUN2AZnhZemNDWlBTd1E/view?usp=sharing
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2015 06:18 AM
Hmm,
the app you published here does really contains errors.
for example the UserTasks foes not have the outgoing node:
<code>
"outgoing": [
{
"resourceId": "sid-9075EE47-4F4D-4E89-AD71-B17E1A47CB48"
}
]
</code>
please try to create a new process and see if it failsd again for you.
if so try to add the elements one by one and try to deploy after each modification (in order to detect when exactly the process becomes malformed)
Until now I'm not able to reproduce it, but I'll try some more cases.
the app you published here does really contains errors.
for example the UserTasks foes not have the outgoing node:
<code>
"outgoing": [
{
"resourceId": "sid-9075EE47-4F4D-4E89-AD71-B17E1A47CB48"
}
]
</code>
please try to create a new process and see if it failsd again for you.
if so try to add the elements one by one and try to deploy after each modification (in order to detect when exactly the process becomes malformed)
Until now I'm not able to reproduce it, but I'll try some more cases.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2015 12:01 AM
Hi Dirla,
I tried to implement your suggested method.
The form I created has fields such as - Multiline textbox, Dropdown, Date, Person and Attachment.
I published the workflow with every single field in the form.
I am able to publish for all the form fields but Attachment.
The 'Attach' form field does not allow me to publish.
Can you tell me why this is happening and solution?
I tried to implement your suggested method.
The form I created has fields such as - Multiline textbox, Dropdown, Date, Person and Attachment.
I published the workflow with every single field in the form.
I am able to publish for all the form fields but Attachment.
The 'Attach' form field does not allow me to publish.
Can you tell me why this is happening and solution?
