cancel
Showing results for 
Search instead for 
Did you mean: 

Contract Approval workflow issue

Former Member
0 Kudos

Hi,

We are on E-Sourcing 5.1.10.

We have a simple scenario for contract approval, where we need to add a particular group as approver.

Prescript seems to be working fine and the group gets added as approver to the MA collaborator table and the users in that group get mails for approval.

They are able to approve/reject the contract document and contract document moves to the correct phase as determined by the post script (if approved - it moves into 'executed' phase and if rejected to 'draft' phase).

The issue is - Contract document still remains in locked status and the group that was added as 'Approve' to the collaborator table does not get into the 'Inactive approval role' (which is 'Reviewer' role). Process owner continues to remain in the collaborator table and we are having to cancel the workflow in order unlock the document.

We checked the logs and found one log with the below error

"28:02.2 ERROR local4 WorkflowEngineDaemon processHook Daemon-029: EVENT_WORKFLOW_ENGINE (-2147483348, 0) event_workflow_engine daemon java.lang.NullPointerException

java.lang.NullPointerException| at com.frictionless.workflow.engine.handlers.PhaseChangeInstantiationRequestHandler.processActivity(PhaseChangeInstantiationRequestHandler.java:351)| at com.frictionless.workflow.engine.handlers.ItemCompletionRequestHandler.processHook(ItemCompletionRequestHandler.java:263)| at com.frictionless.workflow.engine.handlers.WorkflowEngineRequestHandler.process(WorkflowEngineRequestHandler.java:197)| at com.frictionless.workflow.engine.WorkflowEngine.process(WorkflowEngine.java:412)| at com.frictionless.workflow.engine.WorkflowEngine.processItemCompletionRequest(WorkflowEngine.java:253)| at com.frictionless.workflow.engine.WorkflowEngineDaemon.processItemCompletionRequest(WorkflowEngineDaemon.java:479)| at com.frictionless.workflow.engine.WorkflowEngineDaemon.processHook(WorkflowEngineDaemon.java:150)| at com.frictionless.comp.daemon.AbsEventDaemon.process(AbsEventDaemon.java:151)| at com.frictionless.comp.daemon.ResponsibleEventDaemon.runHook(ResponsibleEventDaemon.java:143)| at com.frictionless.comp.daemon.ResponsibleDaemonBase.run(ResponsibleDaemonBase.java:301)| at java.lang.Thread.run(Thread.java:534)

Unexpected error handling event"

Has someone faced such an issue and what would be a resolution for this?

Regards,

Srivatsan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

As the phase change is succeeding you need to look at what else is happening in the post approval script. Also, does the next phase start a workflow? Is there a post or pre-phase change script Document Lifecycle Event script? Are you testing as 'enterprise' user?

Gary