Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-3947

When starting a process or case, I can set a business key using Java

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      AT:

      • When starting a process or case using the Tasklist, I can set a business key using Java
      • The runtime as well as the history to have the business key persisted.

      Ideas:

      • it is possible to set the business key at any time at runtime (not only when the process instance is started)
      • business key can be set in a start listener on the process definition

      Example: a value generated from a sequence or some other service (different from a user capturing the value on the form like CAM-1124).

      Forum:
      https://groups.google.com/forum/#!topic/camunda-bpm-users/TE2LfN1ILNQ

        Issue Links

          Activity

          Hide
          meyer Daniel Meyer added a comment -

          It is already possible to generate a business key in the tasklist using javascript.
          This issue should be scoped to: a user starts the process using the camunda tasklist but wants to generate the business key using Java in the "Backend".

          Show
          meyer Daniel Meyer added a comment - It is already possible to generate a business key in the tasklist using javascript. This issue should be scoped to: a user starts the process using the camunda tasklist but wants to generate the business key using Java in the "Backend".
          Hide
          geoffhoniball Geoff added a comment -

          Thanks, I did try using the javascript you posted on CAM-3596 without success. I am using 7.2, possibly it only works with upcoming 7.3?

          Other than that, noting your scope changes to the Jira, I think I worded the original Jira badly.
          To maybe put it better: I CAN set a business key using a start listener on a process defintion or on a start event(so using Java) , which works fine. The issue is that business key is not persisting to the history table(act_hi_procinst).

          Show
          geoffhoniball Geoff added a comment - Thanks, I did try using the javascript you posted on CAM-3596 without success. I am using 7.2, possibly it only works with upcoming 7.3? Other than that, noting your scope changes to the Jira, I think I worded the original Jira badly. To maybe put it better: I CAN set a business key using a start listener on a process defintion or on a start event(so using Java) , which works fine. The issue is that business key is not persisting to the history table(act_hi_procinst).
          Hide
          meyer Daniel Meyer added a comment -

          > I am using 7.2, possibly it only works with upcoming 7.3?

          Yes, correct.

          Show
          meyer Daniel Meyer added a comment - > I am using 7.2, possibly it only works with upcoming 7.3? Yes, correct.

            People

            • Assignee:
              yana.vasileva Yana Vasileva
              Reporter:
              geoffhoniball Geoff
            • Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:

                Development