Unable to open a process definition in editor mode in business-central 6.4.6 if On Exit/Entry Script field is empty

Solution Unverified - Updated -

Environment

Red Hat JBoss BPM Suite (BPMS) 6.4.6

Issue

An issue happens by creating a process definition in JBDS 11 which had content from on entry/exit fields removed for a task node (i.e. User Task), then imported to business-central. By trying to open it in business-central, it opens only as XML editor.

Resolution

It has been fixed in Red Hat JBoss BPM Suite 6.4 Update 8, please apply it and test again.

For previous versions, a workaround is to simply remove these two lines from the attached bpmn2:

<tns:onEntry-script scriptFormat="http://www.java.com/java"/>
<tns:onExit-script scriptFormat="http://www.java.com/java"/>

with these removed the process can be imported without issues.

Root Cause

This issue has been reported as a bug in jira RHBPMS-5079 and should be fixed in a future release.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.