IAPIData

Contents

bpmn-server / IAPIData

Interface: IAPIData

Table of contents

Methods

Methods

getPendingUserTasks

getPendingUserTasks(query, user): Promise<IItemData[]>

returns list of User Tasks that the user has access to

to get assigned tasks for a user

api.data.getPendingUserTasks({"item.assignee":user.userName});

Parameters

Name Type
query any
user ISecureUser

Returns

Promise<IItemData[]>

Defined in

API/API.ts:145


findItems

findItems(query, user?): Promise<IItemData[]>

returns list of items

Parameters

Name Type
query any
user? ISecureUser

Returns

Promise<IItemData[]>

Defined in

API/API.ts:149


findItem

findItem(query, user?): Promise<IItemData>

Parameters

Name Type
query any
user? ISecureUser

Returns

Promise<IItemData>

Defined in

API/API.ts:150


findInstances

findInstances(query, user?, options?): Promise<IInstanceData[]>

returns list of instances

Parameters

Name Type
query any
user? ISecureUser
options? any

Returns

Promise<IInstanceData[]>

Defined in

API/API.ts:154


deleteInstances

deleteInstances(query, user?): any

deletes the instances

Parameters

Name Type
query any
user? ISecureUser

Returns

any

Defined in

API/API.ts:158