rejectCase(containerItemID)
Performs the reject action for the approval step configured in a case.
Returns
A Promise associated with the action.
Parameters
Name | Type | Description | Required |
containerItemID | object | The ID of the flow container. | ✅ |
Usage example
In this example, the success callback is called if the reject action is successful.
const rejectCasePromise = getPConnect().getActionsApi().rejectCase("app/primary_1/workarea_1");
rejectCasePromise.then(() => {
// reject case success handling
}).catch(() => {
// reject case failure handling
});
Previous topic openWorkByHandle(workID, className) Next topic resolveDuplicateCase(containerItemID)