btp_workflow
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i btp_workflow

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

35.6 kB

Total Files

9

Last publish

Collaborators

  • kovboyjder