workflow_client

oraflow wokrflow client package

Usage no npm install needed!

<script type="module">
  import workflowClient from 'https://cdn.skypack.dev/workflow_client';
</script>

README

WORKFLOW SDK

CONTAINER

  • What is Container, container is just a vessel which contains the data from activity to another in single workflow.

  • Container methods mentioned below:

  1. create: "create container"
  2. getDetails: "get container details".
  3. update: "update container according to activity status".
    let client = require('workflow_client');

    let container = {
            name: 'C01',
            data: {
                test: 'test3',
                test2: 'test4'
            }
    };

    //create Container
    client.container.create(container);

    //get container details
    console.log(client.container.getDetails('C01'));

    //update container
    client.container.update(container);

ACTIVITIES

WORKFLOW