Petals-SE-Flowable 1.0.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (9)

View Page History

The Petals service providers can be invoked natively from Flowable process using a '{{ServiceTask}}' into your process definition through three steps:
# [import the service contract of the Petals service provider into your service-unit project|#importing-service-contract],
# [define the Petals service provider address|#defining-service-provider],
# [create the associated service task|#creating-service-task],
# [configure the associated service consumer|#configuring-service-consumer].

{note} {anchor:importing-service-contract}
_*Note about timeout on service provider invocation*_: it can be configured into the associated section '{{consumes}}' of the SU JBI descriptor (see [Configuring the service consumer|#configuring-service-consumer]) but it has not to be too long otherwise the Flowable database transaction timeout will be fired. To invoke very long service provider you should use an asynchronous mechanism based on a service task launching your service provider and an intermediate catch event waiting the service provider reply:
!long-service-provider-invocation.png!
{note}

h2. Importing the service contract of the Petals service provider

!import-wsdl-in-su-project.png!

{anchor:defining-service-provider}
h2. Defining the Petals service provider address

{code}

{anchor:creating-service-task}
h2. Creating the associated service task

* the default timeout defined at CDK level.

{note}
_*Note about timeout on service provider invocation*_: it can be configured into the associated section '{{consumes}}' of the SU JBI descriptor but it has not to be too long otherwise the Flowable database transaction timeout will be fired. To invoke very long service provider you should use an asynchronous mechanism based on a service task launching your service provider and an intermediate catch event waiting the service provider reply:
!long-service-provider-invocation.png!
{note}

h1. Using the mode "integration"