000037430 - WebService cancelChangeActivity causes activity to stay in Activity State of Open in RSA Identity Governance & Lifecycle 7.1.x

Document created by RSA Customer Support Employee on May 3, 2019
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000037430
Applies ToRSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: 7.1.0, 7.1.1
 
IssueWhen 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.

Query String=cmd=cancelChangeActivity&amp;id=10019&amp;comment=resetpasswordWebServiceCancel</body></html>

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. 

User-added image
Cause

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. 

Resolution

This issue may be resolved by modifying the Default AFX Manual Fulfillment Subprocess workflow to define a default path to the Stop node.



  1. Open the Workflow editor and edit the Default AFX Manual Fulfillment Subprocess workflow. 
  2. Select the first Cancelled transition in the workflow.   
  3. Locate the option Follow this transition when a workflow form is automatically completed and disable this option. 
  4. Select the second Cancelled transition in the workflow and repeat the change. 
  5. Save your changes.

User-added image



This change makes the Completed transition the default transition for Manual Account Activities that are completed automatically. 

WorkaroundYou can cancel the Activity manually from the Activities tab. 

Attachments

    Outcomes