Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 3.14 KB

README.md

File metadata and controls

68 lines (41 loc) · 3.14 KB

Camunda/Robocorp examples

The following are few examples of workflows used in formsflow.

Table of Contents

  1. Notification Email
  2. One step Approval
  3. Two step Approval
  4. Background Check Robot

Notification Email

This bpmn diagram is intended to send an email notification to respective users. It uses email-template.dmn to configure the email properties.

Type

BPMN

How it Works

image

First, configure notify listener to the desired workflow step. This will invoke the notify listener and start the message event of email-notification bpmn.

image

The notification_email workflow connects with the email-template-example.dmn with the decision reference value email-template-example.

image

EmailAttributesListener is configured between the email template and email connector, which takes output data from the dmn template and transfers it to the email connector to send the mail.

image

One step Approval

Type

BPMN

How it Works

image

This diagram shows a simple approval process. Submit a form to invoke the process.

Add below listeners to inject the fields, capture the audit and transform camunda variables.

  • org.camunda.bpm.extension.hooks.listeners.BPMFormDataPipelineListener

  • org.camunda.bpm.extension.hooks.listeners.ApplicationStateListener

  • org.camunda.bpm.extension.hooks.listeners.FormBPMFilteredDataPipelineListener

After that exclusive gateway checks the condition and decides to approve/ reject the application

Two step Approval

This bpmn diagram can be used for any state of approval process.

Type

BPMN

How it Works

image

This is a two-step approval process that involves three lanes including the client and reviewers in the process. After the client submits the form, the first step reviewer accepts/rejects the application with comments. If accepted, the application goes to the next step, and if rejected client needs to resubmit the form for approval. After the first step,  the next level reviewer approves the application and the process is completed, if rejected, the client is notified to resubmit the form.

Background Check Robot

Refer this Background Check Robot and Usage.