When using the RSA Identity Governance & Lifecycle WebService cancelChangeActivity Admin API call against some types of Activities, the Activity moves from Activity State of Available to Open instead of moving to Cancelled.
The Admin API Web Services call returns an incorrect message saying that the id could not be found.
<html><head><title>Error</title></head><body>The change activity with id=10019 could not be found.
If you examine the workflow, you will see that the request is stalled at the Manual Account Fulfillment node and has not proceeded to Stop or Cancel.
This issue occurs only when attempting to complete the Cancel Activity using a the Admin API Web Service call against a request that uses AFX but where the request has failed and has been redirected to Manual Fulfillment.
The problem occurs because there is no interaction with the user and the workflow does not know how to correctly complete the request. The Default AFX Manual Fulfillment Subprocess workflow has ambiguous transitions for the Cancelled and Completed transitions from the Manual Account Fulfillment nodes.
This issue may be resolved by modifying the Default AFX Manual Fulfillment Subprocess workflow to define a default path to the Stop node.
Open the Workflow editor and edit the Default AFX Manual Fulfillment Subprocess workflow.
Select the first Cancelled transition in the workflow.
Locate the option Follow this transition when a workflow form is automatically completed and disable this option.
Select the second Cancelled transition in the workflow and repeat the change.
Save your changes.
This change makes the Completed transition the default transition for Manual Account Activities that are completed automatically.
You can cancel the Activity manually from the Activities tab.