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

Allow setting inital values of variables in the Start Node of a Process

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • BPMN Engine
    • None

      Currently, to set initial value of variables in a process, you either need to send the initial values when you create the process or you need to use a Script element with kcontext. The Script element with kcontext does not come naturally to a user, and there are cases where the variable is internal to the process that end users do not care about (plus it gives them the ability to cause havoc if they set it to the wrong value). As such, it will be useful to be able to set the initial value of the process' variables in a start node (perhaps in the output section)? There is a chance BPMN do not have this functionality in a spec, so we might need to use an extension (https://stackoverflow.com/a/38453759)

        1. Example.png
          111 kB
          Christopher Chianelli

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              cchianel Christopher Chianelli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: