Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8447

Unable to display task with task input equal to constant

    Details

    • Sprint:
      2019 Week 17-19
    • Workaround Description:
      Hide

      Workaround is to not use constant but map the task input variable via Process Var

      Show
      Workaround is to not use constant but map the task input variable via Process Var
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      It is not possible to display a task with task input equal to constant with business-central. It ends with error:

      {"ToSubject":"org.jbpm.workbench.ht.service.TaskService:RPC.getTask:java.lang.String:java.lang.String:java.lang.Long::128:RespondTo:RPC"}

      | Uncaught exception: Client-side exception occurred although RPC call succeeded. Caused by: (TypeError) : Cannot read property 'h' of undefined

      For testing purposes, we have used Integer task input variable, and constant '2'

      KJAR is attached - simply deploy it onto kie-server, start the VarERROR and VarOK process and try to display both tasks from inside business-central (i.e. Task Inbox)

      Task from VarOK is using variable mapping and it gets displayed OK
      Task from VarERROR is using constant as a task input and won't get displayed

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pere.fernandez Pere Fernandez Perez
                  Reporter:
                  pere.fernandez Pere Fernandez Perez
                  Tester:
                  Dominik Hanak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: