Giter VIP home page Giter VIP logo

operate-api-bpmn-demo's Introduction

Description

This is a demo that uses Operate API to render a Bpmn diagram for a specified process definition, along with highlighting processed sequence flows and displaying process instance statistics (in this example, incidents).

Getting Started

Clone the project

git clone https://github.com/camunda/operate-api-bpmn-demo.git
cd operate-api-bpmn-demo

Install the required packages

npm install

Change the Operate API url in api.js file if necessary from http://localhost:8080 to your server URL, and use your active OPERATE-SESSION cookie value.

  request.get(
    {
      url: `http://localhost:8080${req.url}`,
      headers: {
        /*
         * Replace COOKIE_VALUE with a valid OPERATE-SESSION cookie.
         * See https://docs.camunda.io/docs/apis-clients/operate-api/#authentication-for-self-managed-cluster for more details
         */
        Cookie: "OPERATE-SESSION=COOKIE_VALUE",
      },
    },

Start running the proxy server

node server.js

Run index.html in your browser and see your process!

Example:

color-sequence-flows

operate-api-bpmn-demo's People

Contributors

huygur avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tvweldam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.