Petals SE Flowable

Add support of structured variable

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.2
  • Fix Version/s: 1.3.0
  • Component/s: Process service
  • Security Level: Public
  • Description:
    Hide

    Structured variable can be used as JSON in process with Flowable engine.

    Such a variable should be supported by the SE Flowable:

    • on incoming JBI request, a part of the XML payload is converted in JSON and put as a JSON object in variable map of Flowable APIs,
    • JSON variables of the process instance could be used as input complex parameter of service task as list or bean,
    • output complex parameter of service task (as list or bean) could be transformed in JSON variables and set in process instance.
    Show
    Structured variable can be used as JSON in process with Flowable engine. Such a variable should be supported by the SE Flowable:
    • on incoming JBI request, a part of the XML payload is converted in JSON and put as a JSON object in variable map of Flowable APIs,
    • JSON variables of the process instance could be used as input complex parameter of service task as list or bean,
    • output complex parameter of service task (as list or bean) could be transformed in JSON variables and set in process instance.
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Fri, 13 Dec 2019 - 16:41:48 +0100

A multi instance task can be used with a variable JSON, but this does not work correctly with the current embedded version of Flowable. An upgrade to Flowable 6.4.2 is required. See PETALSSEFLOWABLE-65.

Show
Christophe DENEUX added a comment - Fri, 13 Dec 2019 - 16:41:48 +0100 A multi instance task can be used with a variable JSON, but this does not work correctly with the current embedded version of Flowable. An upgrade to Flowable 6.4.2 is required. See PETALSSEFLOWABLE-65.
Hide
Christophe DENEUX added a comment - Fri, 13 Dec 2019 - 16:43:05 +0100 - edited

Service task does not support variable JSON as input and output. A contribution is needed at Flowable level.

Show
Christophe DENEUX added a comment - Fri, 13 Dec 2019 - 16:43:05 +0100 - edited Service task does not support variable JSON as input and output. A contribution is needed at Flowable level.
Hide
Christophe DENEUX added a comment - Tue, 3 Mar 2020 - 10:38:58 +0100 - edited

Now, service task supports variable JSON as input and output in branch petals-se-flowable-1.3.x. A contribution has been proposed to Flowable team: https://github.com/flowable/flowable-engine/pull/2181

Show
Christophe DENEUX added a comment - Tue, 3 Mar 2020 - 10:38:58 +0100 - edited Now, service task supports variable JSON as input and output in branch petals-se-flowable-1.3.x. A contribution has been proposed to Flowable team: https://github.com/flowable/flowable-engine/pull/2181
Hide
Christophe DENEUX added a comment - Tue, 3 Mar 2020 - 10:39:42 +0100

Reopened waiting the integration of the contribution in the Flowable's main dev line

Show
Christophe DENEUX added a comment - Tue, 3 Mar 2020 - 10:39:42 +0100 Reopened waiting the integration of the contribution in the Flowable's main dev line
Hide
Christophe DENEUX added a comment - Thu, 12 Mar 2020 - 08:53:40 +0100

Flowable contribution merged in main dev line

Show
Christophe DENEUX added a comment - Thu, 12 Mar 2020 - 08:53:40 +0100 Flowable contribution merged in main dev line

People

Dates

  • Created:
    Mon, 29 Jul 2019 - 16:01:19 +0200
    Updated:
    Thu, 12 Mar 2020 - 08:53:40 +0100
    Resolved:
    Thu, 12 Mar 2020 - 08:53:40 +0100