Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2716

WorkItem getName always returns "Human Task" when using a bpmn model schema

    XMLWordPrintable

Details

    • Hide

      1. Create a new bpmn model with a User Task, and set the name property to "Test Name"
      2. Register a WorkItemHandler on the StatefulKnowledgeSession WorkItemManager that prints out the name of the WorkItem
      3. Execute the process
      4. "Human Task" will be output, rather than "Test Name" as expected

      Show
      1. Create a new bpmn model with a User Task, and set the name property to "Test Name" 2. Register a WorkItemHandler on the StatefulKnowledgeSession WorkItemManager that prints out the name of the WorkItem 3. Execute the process 4. "Human Task" will be output, rather than "Test Name" as expected

    Description

      Regardless of the Name defined for a userTask in the bpmn, "Human Task" is always returned on a call to getName() on org.drools.runtime.process.WorkItem

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            sxb8au_jira Simon Bronner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: