Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6219

Different data output name and target name results in NPE.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.12.0.Final
    • Core Engine, Task Console
    • None
    • False
    • False
    • Hide

      1) Create a user task with a data output of type String. Set the name of the output to be different than the target variable.

      2) Create an exclusive gateway after the user task and test for the value in the target variable.

      3) Test using the task console to enter a value for the data output. NPE is thrown on the exclusive gateway (split).

      Show
      1) Create a user task with a data output of type String. Set the name of the output to be different than the target variable. 2) Create an exclusive gateway after the user task and test for the value in the target variable. 3) Test using the task console to enter a value for the data output. NPE is thrown on the exclusive gateway (split).

      If the name of a data output and the corresponding target variable name in a user task are different the target value does not get set. i.e. the target variable value is null.

            cnicolai@redhat.com Cristiano Nicolai
            navitect Adrian Apthorp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: