Skip to main content

Flowable client to be used with rpaframework. This client connects to a Flowable instance via external worker and executes rpaframework robots or robocorp tasks or actions.

Project description

Flowable RPA Framework Client

License: license

Flowable Actions CI

This is a python module to connect a Flowable installation through an external worker with a RPA framework task. This allows to execute an RPA framework task from a business process with BPMN or a case diagram CMMN. The application is started with a task definition from RPA framework and connects to an external worker topic. When using the RPA framework task in Flowable, it is possible to specify a task name. In the task, the specific task specified will be executed and the result will be sent back to the process. It is required that the variables in the diagram match exactly the variables inside the RPA framework task.

Installation

To install the Flowable RPA framework client, execute the following command:

pip install flowable.rpaframework-client

Sample

The following diagram BPMN illustrates a basic usage of the RPA framework task:

Simple BPMN diagram with a start event, a RPA Framework task and an end event

The following example myTask.robot can be used as an RPA framework task:

*** Settings ***
Library		flowable.rpaframework_client.API

*** Tasks ***
Get weather forecast
    ${city}=		flw input	city
    ${days}=		flw input	days
    ${length}=      Get Length  ${city}
    ${temperature}=     Evaluate    ${days} * ${length}
    flw output		temperature     ${temperature}

The RPA Framework worker can be started with the following command:

python -m flowable.rpaframework_client --flowable-token <your-token> myTopic myTask.robot

You can request <your-token> at the Flowable Trial by clicking at the bottom left on your user and go to Settings. Once in the settings, choose "Access Token" and press the button "New token". After providing name and the validity, the token is generated and can be set.

Once the module is started and a process instance is created, it will automatically execute the RPA framework action and returns the result to Flowable. The Python module will keep running until stopped to process potential additional jobs.

Authentication

Next to the cloud authentication, it's possible to authenticate against other hosts. The hostname can be specified with --flowable-host.

For the authentication there are two possibilities:

  1. Providing a bearer token with the --flowable-token <token> attribute.
  2. Providing basic authentication with --flowable-username <username> and --flowable-password <password>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowable_rpaframework_client-1.0.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowable.rpaframework_client-1.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file flowable_rpaframework_client-1.0.2.tar.gz.

File metadata

File hashes

Hashes for flowable_rpaframework_client-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4db11772e97fd0d61ce53c079ea6782cc1b536eb87701a5a0e7cf5d87e59afd8
MD5 2eb42cd5b848e9e0ef815a3caf3f1393
BLAKE2b-256 16ccedde200949fd33a1cb777612a47c8a8d709d21717989e7aad36808401e64

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowable_rpaframework_client-1.0.2.tar.gz:

Publisher: release.yml on flowable/flowable-external-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flowable.rpaframework_client-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for flowable.rpaframework_client-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1bb00de6791fd1ddb13d4189ec3c207692f723b4e7d30480da009c4bf96a5a2
MD5 bda8bcb50c8f43638811202d03599d8d
BLAKE2b-256 4c4bab64c2c61da253517a82c685702e61d6a6d01d9b7bfafeb6a3fce4203a6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowable.rpaframework_client-1.0.2-py3-none-any.whl:

Publisher: release.yml on flowable/flowable-external-client-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page