on 2012 May 25 5:17 AM
Hi Guru's,
I am trying to configure a group level approval for contract documents and have completed all the required configuration/coding. However, the workflow is not getting triggered at all. Just to double check I have done the following configurations:
1) Created a group and added 2 users to it.
2) Both the group and the users have the appropriate security profiles attached.
3) Created a user account for Process Owner (with Process Owner Securtiy Profile) but deactivated the login ability of this user.
4) Created a workflow definition and attached it to the Phase Configuration.
5) Attached the worklow definition to the document type.
As soon as I change the pahse to the approval phase as expected the document gets locked. But the XPDL is not triggered. I checked the logs and the Logger statements I had included were not present. All I get is a workflow error as follows:
Facility=local4;sessionid=odp_event_workflow_engine;tenantid=#system#;username=daemon;exception=java.lang.NullPointerException;stacktrace=java.lang.NullPointerException
at
com.sap.odp.workflow.engine.handlers.PhaseChangeInstantiationRequestHandler.processActivity(PhaseChangeInstantiationRequestHandler.java:351)
at
com.sap.odp.workflow.engine.handlers.PhaseChangeInstantiationRequestHandler.processHook(PhaseChangeInstantiationRequestHandler.java:249)
at
com.sap.odp.workflow.engine.handlers.WorkflowEngineRequestHandler.process(WorkflowEngineRequestHandler.java:197)
at
com.sap.odp.workflow.engine.WorkflowEngine.process(WorkflowEngine.java:412)
at
com.sap.odp.workflow.engine.WorkflowEngine.processPhaseChangeInstantiationRequest(WorkflowEngine.java:134)
at
com.sap.odp.workflow.engine.WorkflowEngineDaemon.processPhaseChangeInstantiationRequest(WorkflowEngineDaemon.java:328)
at
com.sap.odp.workflow.engine.WorkflowEngineDaemon.processHook(WorkflowEngineDaemon.java:148)
at com.sap.odp.comp.daemon.AbsEventDaemon.process(AbsEventDaemon.java:160)
at
com.sap.odp.comp.daemon.ResponsibleEventDaemon.runHook(ResponsibleEventDaemon.java:143)
at
com.sap.odp.comp.daemon.ResponsibleDaemonBase.run(ResponsibleDaemonBase.java:301)
at java.lang.Thread.run(Thread.java:725)
;Unexpected error handling
event
java.lang.NullPointerException
What could be the issue ? I am using TWE version 4.1.1. Could this be an issue. I am attaching the XPDL file as well. Hopefully if someone has faced this issue and can throw some light on the solution.
Thanks,
Arijeet
Request clarification before answering.
Hi arijeet ,
I dont think it depends on TWE version. Just check the prescript and Postscript of all the levels and also check the transitions and end of the workflow phase . If possible for you send me the Extended attributes screen shot as well as pre script and Post Script and Transition Conditions,. Which might help to get to know where exactly is the problem .
Please let me know if u resolved it
Regards
Piyush Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.