When Using the Function parseDate(WfCurrentGet) as Shown in the Documentation for Workflows, the Following Error is Produced: Unable to evaluate update script for step xxx (Doc ID 978526.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle WebCenter Content - Version 10.1.3.3.0 and later
Information in this document applies to any platform.

Symptoms

When using the function parseDate(WfCurrentGet) in workflow steps as shown in documentation, i.e
parseDate(WfCurrentGet),

The following error is seen in the content server logs:

Unable to evaluate update script for step xxx in workflow xxx. Unable to parse date . Exception type is 'java.lang.Throwable'. [ Details ]
An error has occurred. The stack trace below shows more information.

!csWfScriptEvalError,update,xxx,xxx!syUnableToParseDate,!syExceptionType,java.lang.Throwable
java.lang.Throwable
at intradoc.common.IdcLogWriter.doMessageAppend(IdcLogWriter.java:80)
at intradoc.common.Log.addMessage(Log.java:270)
at intradoc.common.Log.errorEx2(Log.java:218)
at intradoc.common.LoggingUtils.logMessage(LoggingUtils.java:99)
at intradoc.common.SystemUtils.reportErrorEx(SystemUtils.java:555)
at intradoc.common.SystemUtils.errEx(SystemUtils.java:640)
at intradoc.common.SystemUtils.err(SystemUtils.java:631)
at intradoc.server.workflow.WorkflowStates.reportLastError(WorkflowStates.java:2985)
at intradoc.server.workflow.WorkflowStates.executeScript(WorkflowStates.java:2645)
at intradoc.server.workflow.WorkflowStates.evaluateScript(WorkflowStates.java:2552)
at intradoc.server.workflow.WorkflowStates.evaluateTypedScript(WorkflowStates.java:1457)
at intradoc.server.workflow.WorkflowStates.moveToNextStep(WorkflowStates.java:1375)
at intradoc.server.workflow.WorkflowStates.advanceWorkflowState(WorkflowStates.java:915)
at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement(WorkflowStates.java:641)
at intradoc.server.workflow.WorkflowStates.advanceDocumentState(WorkflowStates.java:507)
at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTransition.java:74)
at intradoc.server.workflow.WfCompanionManager.updateWorkflowItem(WfCompanionManager.java:441)
at intradoc.server.workflow.WfCompanionManager.updateWorkflowItemsEx(WfCompanionManager.java:392)
at intradoc.server.workflow.WfCompanionManager.updateWorkflowItems(WfCompanionManager.java:357)
at intradoc.server.ScheduledSystemEvents.checkHandleEvent(ScheduledSystemEvents.java:641)
at intradoc.server.ScheduledSystemEvents.processWork(ScheduledSystemEvents.java:589)
at intradoc.server.ScheduledSystemEvents.run(ScheduledSystemEvents.java:487)
at java.lang.Thread.run(Thread.java:595)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms