How to setup approval flow based on application

Dear All,

We have a requirement to configure an approval workflow based on the application. Certain applications require a two-level approval process, while others require a three-level approval process.

Could you please advise on the best approach to design and implement this based on application-specific requirements? Additionally, I would appreciate guidance on where changes need to be made within the LCM workflow to achieve this.

Currently, the workflow is configured with three levels of approval:
Manager → Role Owner → IT Planning (Workgroup)

We would like to modify this so that either the second or third level of approval varies depending on the application and its associated workgroup.

Please share your recommendations on how to configure this effectively.

Thank you for your support.

Hi @AKSinghSite ,

You can use an Approval Assignment rule to configure the approvals based on the application.

You can set the ApprovalAssignment Rule in approve step in Approve and Provision subprocess in LCM Provisioning workflow.

You can use an ApprovalAssignment rule to handle this

There’s an example listed in WEB-INF/config/examplerules.xml that shows editing the approval set. Also several other examples/articles on compass

@AKSinghSite

Please create a Rule of type ApprovalAssignment type and add a logic for your requirement.

Let me know if you need any more help with the sample rule.

Thanks

@AKSinghSite You can use the ApprovalAssignment rule to achieve this. However I have a question, if you are using roles, then how are you going to manage Application specific approvals? You need to make sure that you have an extended attribtue in Bundle storing your app name or your role only contains entitlements from one app only. This is an operation validation you need to enforce whenever you create more requestable roles.

Please can you share some sample rule

You will be able to see all the sample rules here WEB-INF/config/examplerules.xml

You can find it in your IIQHome –> WEB-INF/config/examplerules.xml

Sample can be found here: WEB-INF/config/examplerules.xml