navigateToStep(stepID, containerItemID)
Navigates to a specific step in the context of a container.
Returns
A Promise associated with the action.
Parameters
Name | Type | Description | Required |
stepID | string | The ID of the step to be navigated to. Use the value “previous" to go to the previous step. | ✅ |
containerItemID | string | The ID of the container item. | ✅ |
Usage example
In this example, the success callback is called if the navigate action is successful.
navigateToStepPromise = getPConnect().getActionsApi().navigateToStep("Step1", "app/primary_1/workarea_1");
navigateToStepPromise.then(() = > {
// navigate to step success handling
}).catch(() => {
// navigate to step failure handling
});
Previous topic loadView(caseId, viewName, config) Next topic openAssignment(assignmentID, className, options)