Exception in Approval Process
I am working on creating an approval process. To block an account I need it to go through some approval first.
I have followed all the steps as mentioned in the help doc but I am facing some issues.
I have created a custom BO (CustomerBlock.bo) and an EC. I have embedded the EC in Account TI. This contains some fields which need to be filled and then submitted for approval. I have provided a button which invokes submitForApproval action on click.
For the custom BO i have created the approval process, approval and notification tasklist views are added to Account workcenter view.
In submitForApproval action, I am assigning EmployeeIDs to requester and RM approver.
SubmitForApproval action is executed successfully, but on saving the Account I am getting an exception. The exception is not thrown if I remove the tasklist views from the account workcenter view.
Any Idea what could be the issue here? Please help.