(Example) Cancel an Activity from Manage Center

This example shows how to cancel an activity that is not complete in Manage Center.

Background and Setup

Prerequisites

Good to Know

  • As a best practice, cancelling an activity in Manage Center is used for exception cases that are not handled in the configuration for an app.
  • If you cancel an activity:
    • The process instance moves forward to the next activity.
    • If the activity is associated with an eForm, data from the eForm is not submitted.
    • If the cancelled activity retrieves data from a data source, the data is not retrieved.
    • Data that has been entered in eForms for other activties is not changed or deleted.
  • As a best practice, if you cancel an activity, it is recommended to search by process instance name so that you do not cancel an activity from the wrong process instance.

    To search by process instance name, you can retrieve it from Work Center. For more information, refer to:

    In this example, the process instance name is Expense Report-2022-11-16T11:00:24:805.

  • In the Expense Report app, an employee enters their expenses and submits the report for manager review. A manager or director can approve the expenses. Once the expenses are approved, the report is sent to accounting for payment.

    For the use case in this example, after the employee submits the expense report, the manager review is not required for an unexpected reason. A user with the necessary access rights cancels the Manager Review activity to move the process to the director review task.

How to Start

  1. Click Manage.

    Click Manage
  2. In the Manage Center, click Runtime Management > Tasks.

    Click Tasks
  3. On the Task Search screen, select Search By Process Instance Name.

    Select Search By Process Instance Name
  4. In the Process Instance Name field, enter the name of the process instance for the activity to cancel.

    In this example, the process instance name is Expense Report-2022-11-16T11:00:24:805.


    Enter Process Instance Name
  5. Click Search.

Procedure

  1. On the Tasks screen, select the Manager Review activity.

    Select Activity
  2. Click Cancel Cancel icon.

    Cancel Activity

How to Get the App

This example is based on the Expense Report app from the AgilePoint NX App Store. Use this procedure to get the app.

Prerequisites

Good to Know

  • This procedure is optional. It is provided so you can test the example with an out-of-the-box app.
  • This is part of the Background and Setup procedures, but many users preferred this step to appear after the example, not before it.

Get the App

  1. Click App Store App Store icon.

    App Store
  2. In the CATEGORY section, click Marketing.

    App Store screen
  3. Click the Expense Report app.

    Click Expense Report App
  4. On the Expense Report screen, click Add.

    Add Expense Report App
  5. On the Trust App screen, click Trust it.
  6. Click Return to site.