07-02-2007 10:14 AM
bpm_workflowDueDate === undefined
typeof bpm_workflowDueDate == 'undefined'
16:09:22,203 ERROR [graph.def.GraphElement] action threw exception: Failed to execute supplied script: ReferenceError: "bpm_workflowDueDate" is not defined. (AlfrescoScript#1)
org.alfresco.service.cmr.repository.ScriptException: Failed to execute supplied script: ReferenceError: "bpm_workflowDueDate" is not defined. (AlfrescoScript#1)
at org.alfresco.repo.jscript.RhinoScriptService.executeScriptString(RhinoScriptService.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
07-03-2007 04:58 AM
07-04-2007 12:07 PM
<task-node name="review">
<task name="cwwf:reviewTask" swimlane="assignee">
<event type="task-create">
<script>
if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
</script>
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
if (bpm_workflowDueDate != void) {
taskInstance.dueDate = bpm_workflowDueDate;
}
</script>
</action>
</event>
</task>
07-05-2007 04:16 AM
11-09-2007 06:15 AM
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<![CDATA[
if (typeof bpm_workflowDueDate != 'undefined')
taskInstance.dueDate = bpm_workflowDueDate;
if (typeof bpm_workflowPriority != 'undefined')
taskInstance.priority = bpm_workflowPriority;
]]>
</script>
</action>
07-21-2015 12:54 AM
x == undefined
does not work in all cases.
if (args.to != undefined) …
if (requestbody != undefined) …
if (formdata != undefined) …
ReferenceError: "requestbody"/"formdata" is not defined.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.