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:
- create: "create container"
- getDetails: "get container details".
- 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);