Symantec IGA

  • 1.  Mandatory Comments upon on Workflow Rejection

    Posted Aug 20, 2018 10:57 PM

    Hi,


    We are using CA Identity Manager 12.6.8 in our environments with front ending CA Identity Portal. Approvers will use the Identity Portal to check for requests pending in approval queue and either approve or reject the requests.

     

    We have a requirement to check if the approver provided comments or not when the request is rejected and display error message "comments are mandatory" without rejecting the request.

     

     

    I have thought of using PX, but this may not work. I can add the condition for checking Rejection Comments empty or not, but can't think of logic for checking if the approver action was Reject or Approve on the PX UI level configurations.

     

    I am looking at adding action scripts in the workflow designer during transition to "IM Reject" to check for the empty comments custom attribute field value and display appropriate error message to approvers.

     

    Can some one please provide some thoughts on how this can be achieved and a sample action code if available?

     

     

    Thanks,

    Kesav



  • 2.  Re: Mandatory Comments upon on Workflow Rejection
    Best Answer

    Broadcom Employee
    Posted Aug 21, 2018 04:48 AM

    Hi Kesav,

     

    I suggest you to take a look at the following item:
    https://communities.ca.com/thread/119809662

    There is a perspective with a JavaScript in an HTML Screen Separator which can pick up the History Editor field object using document.getElementsByName(), catching the appropriate events against this field.

     

     

    Also you can vote for the following enhancement request to get the feature by design:
    https://communities.ca.com/ideas/235734896

     

    Regards,

    Philippe.