Skip to Content

Workflow approval process issue

Hi Experts,

I am adding new approval workflow for existing Contract phase.

Following is the scenario:

1. When user select the contract phase the document will get locked for approval.
2. The prescript will check the appropriate user group & add them in collaborator as approver.
3. Approver approves it or reject it then document will be free to move ahead & lock is get removed.
4. The approver group which was added in collaborator list will change a role from Approver to Reviewer.

We are facing issue when Approver approving or rejecting it.
After approval/Rejection the phase is changing to required phase
but the collaborator role still remains as Approver & document remains in locked condition


Would you please help me to sort it out. i am working on Workflows first time.

Regards
Nishant

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 27, 2015 at 12:01 PM

    For a start you will need to use the application logs to determine if there are any issues occurring in the postscript.  It appears it is in fact firing as the phase change occurs. However if there any exceptions thrown this can cause the workflow engine to not process the final steps that being the unlock and approver role changes.  I would suggest enabling debug logging to get the most detail possible.  If you are not able to determine a cause using the logs you may need to submit a CSS message.  Support would also need debug logs and a copy of your workflow setup including pre/post scripts.

    Regards,

    Gary

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 13, 2015 at 10:40 AM

    Hi Nishant,

    Once check the Phase information because you added collaborator as a group so every person in group should approve the document.Still you facing same issue after approving all users in group check  the pre-script of work flow(Principal should be new CollaboratorApprovalRuleType(1))

    Add comment
    10|10000 characters needed characters exceeded