Get my items

Retrieve the process items initiated by the current user

Retrieves the process items initiated by the current user.

Parameters

ParametersTypeDescription
optionsObjectOptional. status (String, default "all"), searchValue, pageNumber, pageSize, payload.

Payload

payload is sent as the request body. Every key is optional.

KeyTypeDescription
ColumnsArrayThe columns to request.
FilterObjectThe filter to apply, in the same shape the view builder sends. The key is Filter, singular.
SortArraySort order, one { Id, SortType } entry per field. Id is the field ID and SortType is "ASC" or "DESC".
const { items } = await processInstance.getMyItems({ payload: { Sort: [{ Id: "Due_Date", SortType: "DESC" }] } });

Syntax

const { items } = await processInstance.getMyItems({ status: "draft" });

Returns

Returns an object containing an items array and the total item count.

On this page