How can you make your custom workflow process script go to a Nobody AutoComplete state
search cancel

How can you make your custom workflow process script go to a Nobody AutoComplete state

book

Article ID: 26597

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction

How can you make your custom workflow process script go to a Nobody AutoComplete state to auto grant approval without any manual approval

Your workflow uses custom scripts whenever the needs of the out of the box workflow scripts do not match your environment needs. Within that process you can make a custom participant resolver which you can use to find who you wish to approve the task in question. Whenever the approver cannot be identified whether using a custom participant resolver or an OOTB resolver it will move to a Nobody AutoComplete state. In this instance we want to force it to go there so no approvers are required.

Environment

Release:
Component: IDMGR

Resolution

Two items are required:

  1. Modify your custom workflow process in Workpoint Designer. Select the process within Designer and go to the appropriate node preceding auto-approval. Right-click to edit the properties of this node and navigate to the user data tab. Set the property APPROVERS_REQUIRED to a value of NO.

  2. Make sure your custom workflow participant-resolver code is returning 0 participants (i.e. no approvers required) correctly so that the script transitions to auto-approval. This means that in your code, the vector maintaining your active participant resolver list must be emptied and reset. This can be done as follows, for example, if vector partResolver is the vector of participant resolvers;

    partResolver.clear();     // the clear method empties out this vector so IM does not expect any resolvers