Generated Task Forms in BPMS 6 contain "quot;" values inside the errorMessage, label and title attributes of a field

Solution Verified - Updated -


  • When retrieving the generated Task Form for a task generated in Business Central , it has been observed for certain fields their attributes like- errorMessage, label and title tend to contain a lot of quot; parts in the form. The issue appears when users download such forms in their XML or JSON format via Intelligent Process Server REST API as shown here [1] , and the expectation is the form should not contain such strange characters inside it and should look clean as visible in the form modeler of Business Central.

  • The following steps can be followed to replicate the same issue and the quot; values can be observed in the sample task form /TaskModelFormTest/src/main/resources/org/sample/process/TaskModelFormTest.ProcessModelOne-taskform.form from the attached project as well.

1. Login to Business Central with a user who can create a process
2. Go To => Authoring Tab
3. Go To => New Item => Business Process
4. Create a few process variables like (firstName = String, lastName = String)
5. Create a few User Tasks and assign the variables using the Data Input / Output Assignments screen.
6. Choose "Generate all Forms" in the Business Process Modeler
7. Save Business Process
8. Build and Deploy Project
9. Go To => Deploy => Execution Server
10. Add a new Container to Intelligent Process Server:
    - Name : Container1
    - Group Name : org.kie.example
    - Artifact Id : TaskModelFormTest
    - Version : 1.0
11. Start Container "Container1"
12. Use any REST client to execute the following REST API using a user having the role "kie-server" . It will start a process instance:
    - [POST] : http://localhost:8080/kie-server/services/rest/server/containers/Container1/processes/TaskModelFormTest.ProcessModelOne/instances
    - Content-Type : application/json
    - Body : {
          "firstName": "Ton",
          "lastName": "Swieb",

13. Get the form of the task :
    - [GET] http://localhost:8080/kie-server/services/rest/server/containers/Container1/forms/tasks/1/

After following the 13th step user can download the form in XML/JSON format which would contain the quote characters.

  • Is there anyway such "quot;" characters can be removed from the generated forms?



  • Red Hat JBoss BPM Suite (BPMS)
    • 6.4.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content