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

Unable to display task with task input equal to constant

    XMLWordPrintable

Details

    • NEW
    • NEW
    • 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
    • 2019 Week 17-19

    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

      Attachments

        Issue Links

          Activity

            People

              rh-ee-pefernan Pere Fernandez Perez
              rh-ee-pefernan Pere Fernandez Perez
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: