1.0.0 • Published 2 years ago
btp_workflow v1.0.0
BTP_Workflow
Helper package for interacting with the workflow service on SAP Business Technology Plaftorm.
For example for easy integration to SAP CAP
const workflow = new Workflow(
"<Workflow definition id",
"<Workflow endpoint",
"rest",
req.headers.authorization
);
const tasks = await this.workflow.GetTasks();
You can also create an .env file and use technical authentication. Supported env properties:
- WORKFLOW_AUTH_URL
- WORKFLOW_AUTH_CLIENT_ID
- WORKFLOW_AUTH_CLIENT_SECRET
- WF_DEFINITION
- WF_URL
Todo
- easy handling of filters and paging
- better type defs
1.0.0
2 years ago