Tuesday, January 3, 2012

How to troubleshoot "atg.workflow.WorkflowException" : ATG BCC


when we run the importRepository or startSqlRepository command most of the time we will get the atg.workflow.WorkflowException.
The following steps we can follow to fix the WorkflowException

Fix: 1. Delete data from these workflow tables:

delete from epub_wf_server_id
delete from epub_coll_workflow
delete from epub_workflow_info

2. Start up BCC and ensure the workflows are correctly created and are accessible.

3. Ensure the ATG importRepository or startSQLRepository instance has /atg/epub/workflow/process/workflowProcessManager.xml configured to point the WPES to the BCC server instance. With XML similar to:
dyn1:88500

4. Run the importRepository or startSQLRepository command.

5. If the problem still occurs, open the workflow in the ACC on the BCC server, make an edit (and then restore the change) and save the workflow. Or run updateAllProcesses method from /atg/epub/workflow/process/WorkflowProcessManager component in Dynamo Admin. By invoking this method it should refresh the 'state' records in epub_coll_workflow table.

6. Enable loggingDebug on /atg/epub/workflow/process/WorkflowProcessManager component if problem still persists.

No comments:

Popular Posts