Error in executing workflow.
Hi All.
I am executing a workflow task individually for Change document. ( CV02N)
But after executing workflow if i check in workflow log i am getting following error.
Error: subdocs could not be aligned (009)
Could any one advise me why this is happening and what to do...?
Thanks ,
I've never had this problem, so here's just an educated guess: Are you changing one part in a multipart document?
In any case you should provide a lot more information to make it easier for everyone to help. Just a few examples:
- Is the workflow a SAP standard one, or a custom one?
- Is the object (BOR or class) a SAP standard one, or a custom one?
- Do you get this error every time (for all documents) or not?
- What is your SAP release?
Similar Messages
-
Getting error while executing workflow: java.lang.OutOfMemoryError.
Hi,
I am getting the below error while executing the unassigment workflow on AD resource having 160 user objects.
java.lang.OutOfMemoryError.
Please provid your inputs on this.
Your help wolud be appriciated.
Thanks
Renuka.Well, if you're getting an out of memory exception then your memory settings are too low. Odds are there's a period of activity where the memory usage spikes above what you've configured for the VM.
-
Error in executing workflow service
Hi All,
I have followed this blog to consume workflow service and take decisions on workitems. Everything was fine except the last step. When I execute application URL with apply decision i am getting following error.. Please help me to resolve this.
Thanks,
SumanHi nabheet madan
I recreated this issue in my system and I was also getting same error.
On further debugging, I found that the error comes from class /IWWRK/CL_WF_READ_WORKITEM in the method READ_ITEM_VALIDATION.
Internal table mt_wi_wapi_agents is read with sy-uname.
This internal table mt_wi_wapi_agents is getting filed by FM SAP_WAPI_GET_WI_AGENTS in other method within same Class.
I checked with below workflow id which are there in my inbox. 2 are in In Process status and one is in Ready status.
so the items which are in 'In Process' status will get approved as per standard logic. and to make the item which is in Ready status to In process, We need to execute it in SWBP inbox and then need not to approve/reject as mentioned in earlier response.
I do agree with you that even items which are in Ready status should be processed without error but this is how the validation logic is there in standard method.
Regards,
Chandra -
Error while executing Workflow
Hello Experts,
My requirement is Whenever User make any Purchase order above certain amount then mail will go to mail-id provided.
I had made the workflow but when I am trying to execute it following error is showing up in status bar:
Task started under work item ID 864678 (current status: Error)
How should I correct this error?
Also,I am unable to locate What amount variable should I compare in conditions
Please help.
Edited by: shubh_ag on Jul 29, 2011 12:26 PMHi,
If it is just about sending mail to the user...
use FM SO_NEW*DOCUMENT_SEND FM...
Using workflow for these scenarios is not recommended as this impacts system performance...
To find field for price, Please see the BO using SWO1 to find your variable...
For errors see the workitem log. Open workitem for this... use menu path for Log and see the error...
Regards
Gautam
Edited by: gautam maini on Jul 29, 2011 1:43 PM -
Cannot execute workflow process definition
Hi,
I am new to Siebel. We are researching on Siebel Public Sector Case screens.
I have installed Siebel Client & Tools and defined the Debug configurations in the Tools. When I hit F5 in Tools, the Client loads. However, when I click on the Eligibility button on the Case screen I am rendered the error: *"cannot execute workflow process definition 'PUB Eligibility Determination Workflow'. (SBL-BPR-00158)"*.
Browsing through the Administration - Business Process -> Workflow Monitor, I noticed that none of the Workflows (available in the Tools) are getting displayed. Please let me know if there is any configuration that I might have missed out.
Thanks in advance.Hi,
In case this is a new installation of Siebel, by default Workflow processes are not activated on the Server. As a result you will face the mentioned error.
In this case just go to the Administration - Business Process -> Workflow Deployment -> Repository Workflow Processes and in the top applet query for the Workflow causing the error. Also query for the same in the lower applet as well. If there is no record in the lower applet or if the Repository Version in the lower applet is not matching to that on the upper applet, you need to click on the Activate button on the Top applet to enable the latest version on the server.
By Check In process it means that you check-out i.e. lock a particular object for exclusive modification and then checking it in i.e. publishing the changes onto the server for all the other developers.
With Regards,
Tanmay Jain -
Error in the workflow which executes background synchronous webservice task
Hi,
I am very new to SAP Workflows. I created a workflow with one activity step in it. The activity step actually executes a task TS77000300 (synchronous calculation - its an SAP task). When I test it. I get an error "Error when starting the service" with exception 8987, area SWF_HTTP and message 125 - Object WEBSERVICE method PROCESSBATCH cannot be executed.
I checked in WF_EXTSRV tcode, there is an entry for the background synchronous webservice task.
I checked in SWLWPTSSID table, there is an mapping between task-id and service id from WF_EXT SRV.
I am not sure where its going wrong. Any help resolving this issue is appreciated. Thanks a lot.
Regards,
RajaGurprit/All
Thanks Gurprit for the direction.
Even if I execute the the workflow( WS77000647 from SAP). The first step invokes Process Dialog which asks for three numbers and two operands. When I input all the input params and click calculate button, the second step which is actually the background synchronous task, results in the same error in the workflow log and in the Process Dialog page browser it says "Entries sent for calculation" with the same input screen.
Am I missing anything here to run background synchronous task? Any help regarding this is appreciated.
Thanks & Regards,
Raja -
Error when executing external workflow process
OWB 9.2 with server on Windows NT.
I can successfully execute a mapping workflow process from the deployment manager, but I get an error when executing a simple external process:
command: move
parameters: ?c:\\data\\owbtest\\src.txt?c:\\data\\owbtest\\trg.txt
Resulting output:
Create Process: move c:\data\owbtest\src.txt c:\data\owbtest\trg.txt error=2
File c:\data\owbtest\src.txt exists.
My questions:
1. What am I doing wrong?
2. What does error=2 mean? Is this a Windows error?
3. Do I have to configure some location for the process? What does 'use default location' mean for the configuration property Working Location? Is a host-logon performed before the host-command is executed?
4. Is there logging available for an external process? In the workflow tables or views?
5. I can't find much documentation for these questions. Is there more documentation than the OWB user guide and the OWF guide?
Jaap.It seems that commands that are not an executable in some directory, but are part of the Windows kernel (like 'move'), need to be started as a parameter of the cmd command. I did this and now it works fine.
-
Random error when executing a workflow (urgent!!)
We are sometimes getting the following error message when a workflow is executed:
"com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession com.waveset.util.InternalError: ID not passed to ObjectCache.getObject"
This error occurs randomly (sometimes happens and sometimes don't, even when repeating the same test) when executing the create user and update user workflows.
The problem is that in spite of this error, the user is successfully created and provisioned to all resources (when executing the create workflow) and all changes made user to the user are also successfully provisioned (when executing the update user workflow), so we are not quite sure what is causing it.
So far, we've checked across our code to make sure that every time the getObject method is called we are passing to it the following code as context:
<invoke name='getObject'>
<select>
<ref>context</ref>
<ref>:display.session</ref>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
</select>
But this made no difference.
Any comments on this issue would be much appreciated!
Here are 2 different examples of this error from the logs:
1)
Walking case 'Create User'
Walking case 'Approval'
Processing steps in 'Approval'
Step pass 1
Check completion 'Approve'
Processing work item results from 'testuseradmin'
Step complete 'Approve'
Step pass 2
Resolved reference WF_ACTION_TIMEOUT = null
Step inactive 'Approve'
Step executing 'Check Status'
Action
Evaluating XPRESS
Resolved reference APPROVAL = true
Resolved reference APPROVAL = true
Assigning approved = true
Resolved reference ACTUAL_APPROVER = testuseradmin
Resolved reference ACTUAL_APPROVER = testuseradmin
Assigning actualApprover = testuseradmin
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
Caused by: com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	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 com.waveset.util.Reflection.invoke(Reflection.java:885)
	... 85 more
Wrapped exception:
com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	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 com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
<ResultError throwable='com.waveset.util.InternalError'>
<Message id='OBJECT_CACHE_NO_ID'>
</Message>
<StackTrace>com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	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 com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.geMandar_S: Thank you very much for your reply.
Indeed we are using the inbuilt Approval process in all of our workflows. We call that process from our approval activity and we pass to it the "approver" variable as an argument as follows:
<Activity id='8' name='Manager Approval'>
<Variable name='manager' value='$(user.accounts[Lighthouse].idmManager)'/>
<Action id='0' process='Approval'>
<Argument name='user' value='$(user)'/>
<Argument name='approvalTemplate' value='AIO - New User Approval'/>
<Argument name='approvalForm' value='AIO - Approval Form'/>
<Argument name='approver'>
<ref>manager</ref>
</Argument>
.......... As far as I could investigate, the "approver" variable is passed to the "Approval" process, and this is seen in the logs:
Walking case 'Create User'
Walking case 'Approval'
Processing steps in 'Approval'
Step pass 1
Check completion 'Approve'
Processing work item results from 'testuseradmin'
Step complete 'Approve'
Step pass 2
Resolved reference WF_ACTION_TIMEOUT = null
Step inactive 'Approve'
Step executing 'Check Status'
Action
Evaluating XPRESS
Resolved reference APPROVAL = true
Resolved reference APPROVAL = true
Assigning approved = true
Resolved reference ACTUAL_APPROVER = testuseradmin
Resolved reference ACTUAL_APPROVER = testuseradmin
Assigning actualApprover = testuseradmin
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class
com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
</WavesetResult>
Assimilating last application result into task result
Step complete 'Check Status'
Step inactive 'Approve'
Step pass 3
Resolved reference useSignedApprovals = false
Resolved reference approved = true
Step inactive 'Check Status'
Step executing 'Approved'
Action
Argument op = audit
Argument action = Approve
Resolved reference actualApprover = testuseradmin
Argument subject = testuseradmin
Argument approver = testuseradmin
Argument type = ObjectGroup
Argument name = Top:Bill Payment:Shared Services
Argument accountId = mcontrol1
Argument fullname = Marcelo Control
Argument email = [email protected]
Resolved reference delegator = njefe
Resolved reference approver = testuseradmin
Resolved reference actualApprover = testuseradmin
Resolved reference delegator = njefe
Argument error = Delegated by njefe
Resolved reference comments = null
Argument attributes = {Comments=null}
Resolved reference WF_TRANSACTION_SIGNATURE = null
Calling application 'com.waveset.session.WorkflowServices'
Application requested argument op
Application requested argument logResultErrors
Application requested argument action
Application requested argument status
Application requested argument type
Application requested argument subject
Application requested argument name
Application requested argument resource
Application requested argument accountId
Application requested argument error
Application requested argument parameters
Application requested argument trackedAttributes
Application requested argument attributes
Application requested argument originalAttributes
Application requested argument overflowAttributes
Application requested argument auditableAttributesList
Application requested argument organizations
Step complete 'Approved'
Step inactive 'Check Status'
Step pass 4
Step inactive 'Approved'
Step executing 'end'
Step inactive 'end'
Completing case 'Approval'
Step inactive 'Approved'
Processing steps in 'Create User'
Step pass 1
Check completion 'Manager Approval'
Check subcase result 'Approval'
Subcase complete
Returning from actualApprover to actualApprover = testuseradmin
Returning from applicationEscalator to actualEscalator = null
Returning from approved to managerApproved = true
Returning from comments to comments = null
Step complete 'Manager Approval'
Step pass 2
Resolved reference error = null
Resolved reference managerApproved = true
Resolved reference WF_ACTION_ERROR = null
Step inactive 'Manager Approval'
Step executing 'Provision'
Action
Resolved reference transforms.preProvisionRule = null
Resolved reference transforms.preProvisionForm = null
Creating subcase Data Transformation
Step inactive 'Manager Approval'
Step pass 3
Check completion 'Provision'
Check subcase result 'null'
Subcase waiting
----------------------------------------In spite of that, the error ocurred (I've eliminated some StackTrace lines for clarity reasons, but you can find them in my original post).
Furthermore, we've encountered this error in other activities diffrent from the "Approval" process. Here's another log example of this error:
Walking case 'AIO - Update Resource Account WF'
Walking case 'Rename Task'
Processing steps in 'Rename Task'
Step pass 1
Initializing variables
Initial Case Variables
name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Case title set to 'Rename Task'
Step executing 'Find Unique Name'
Action
Resolved reference makeUnique = null
Condition evaluated false
Step complete 'Find Unique Name'
Step inactive 'Find Unique Name'
Step executing 'Rename'
Action
Evaluating XPRESS
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Resolved reference WF_CASE_OWNER = jjefe
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
Caused by: com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	... 31 more
Wrapped exception:
com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
</StackTrace>
<ResultError throwable='com.waveset.util.InternalError'>
<Message id='OBJECT_CACHE_NO_ID'>
</Message>
<StackTrace>com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
</WavesetResult>
Assimilating last application result into task result
Step complete 'Rename'
Step inactive 'Find Unique Name'
Step pass 2
Step inactive 'Rename'
Completing case 'Rename Task'
Processing steps in 'AIO - Update Resource Account WF'
Step pass 1
Check completion 'Rename Temporary Task'
Check subcase result 'Rename Task'
Subcase complete
Step complete 'Rename Temporary Task'
Step pass 2
Step inactive 'Rename Temporary Task'
Step executing 'end'
Step inactive 'end'
Completing case 'AIO - Update Resource Account WF'
Step inactive 'Rename Temporary Task'
Deleting work item for action Edit Request
Deleting invalid work item #ID#5F564652662387E3:-15828051:11B8E51257D:-7CEE
Finished executing workflow case AIO - Update Resource Account WF
***************************************The code that genereted this log is something like this:
<Configuration name='Rename Task' creator='%STARTUP%Configurator' createDate='1214936621250' lastModifier='Configurator' lastModDate='1216397579578' lastMod='1'>
<Extension>
<WFProcess name='Rename Task' maxSteps='0'>
<Comments>
 Rename the current workflow task instance.
 </Comments>
<Variable name='name' input='true'>
<Comments>
 New task instance name.
 </Comments>
</Variable>
<Variable name='makeUnique' input='true'>
<Comments>
 If true, causes this task to append a suffix to the end
 of 'name' in order to enforce uniqueness. Otherwise
 this task fails if a task already exists called 'name'.
 </Comments>
</Variable>
<Activity id='0' name='Find Unique Name' hidden='true'>
<Action id='0'>
<Comments>
 The 'name' passed in may be suffixed with something that
 makes it unique if necessary
 </Comments>
<Condition>
<isTrue>
<ref>makeUnique</ref>
</isTrue>
</Condition>
<expression>
<block>
<defvar name='uniqueName'>
<ref>name</ref>
</defvar>
<defvar name='counter'>
<i>0</i>
</defvar>
<while>
<cond>
<invoke name='getObjectIfExists'>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
<invoke name='findType' class='com.waveset.object.Type'>
<s>TaskInstance</s>
</invoke>
<ref>uniqueName</ref>
</invoke>
<s>false</s>
</cond>
<block>
<set name='counter'>
<add>
<ref>counter</ref>
<i>1</i>
</add>
</set>
<set name='uniqueName'>
<concat>
<ref>name</ref>
<s>(</s>
<ref>counter</ref>
<s>)</s>
</concat>
</set>
<s>true</s>
</block>
<s>false</s>
</while>
<set name='name'>
<ref>uniqueName</ref>
</set>
</block>
</expression>
</Action>
<Transition to='Rename'/>
<WorkflowEditor x='43' y='10'/>
</Activity>
<Activity id='1' name='Rename'>
<Action id='0'>
<Comments>
 First rename the object in the repository. The last
 argument is an options map containing the name under which
 we will lock the object.
 Next rename it in memory so when the scheduler eventually
 saves it back into the repository it doesn't overwrite
 the name we just changed.
 </Comments>
<expression>
<block>
<invoke name='renameObject'>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
<invoke name='findType' class='com.waveset.object.Type'>
<s>TaskInstance</s>
</invoke>
<invoke name='getId'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
</invoke>
<ref>name</ref>
<map>
<s>user</s>
<ref>WF_CASE_OWNER</ref>
</map>
</invoke>
<invoke name='setName'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
<ref>name</ref>
</invoke>
<invoke name='setDisplayName'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
<ref>name</ref>
</invoke>
</block>
</expression>
</Action>
<WorkflowEditor x='174' y='13'/>
</Activity>
</WFProcess>
</Extension>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
</Configuration>
.......................................Any ideas on why this is happening?
Thanks a lot in advance. -
Error while executing work flow
Hi all,
I have created a workflow with user decision and send mail steps. But when I execute the workflow it is generating an error saying - " Task started under workitem ID 71036(current status: Error) ".
When I see the workflow log--> list of technical details --> step history, the following errors I got
exception occured Error when starting work item 000000071038
Process node Error when processing node '0000000004' (ParForEach index 000000
create Error when creating a component of type 'Step'
create_WIM_Handle Error when creating a work item
create_via_wfm Error within method CL_SWF_RUN_WIM_FACTORY->CREATE_VIA_WFM
get_witype Unable to determine work item type for step at node 0000000004
get_task_handle Error when loading task
find_by_wfdwiz Task definition '' not found
Executing workflow item Work item 000000071038: Object FLOWITEM method EXECUTE cannot be executed
Executing workflow item Error when processing node '0000000004' (ParForEach index 000000)
But when I create the same workflow in another client and excute, it is working fine.
Can anybody look into this.
thanks & regards
KrisHi Suresh,
Thanks alot, problem solved to some extent. I need some other clarifications.
1. whether SAP_ALL and SAP_NEW profiles are mandatory for the user WF-BATCH or only SAP_ALL can solve our issue?
2.
Unless your workflows are not going to use Webflow functions, configuring "Maintain Web Server" is not required
as you said, what are webflow functions?
Please provide me information on these as Iam new to Workflows.
Thanks & regards,
Kris -
Getting error while publishing workflow using SP designer for SharePoint 2013
Hi,
I am try to setup Workflow manager for our sharepoint applications.
WF manager set ran without any issue.
I registered the SPWorkflow service which succeeded as well. The Workflow service application shows "Workflow is connected"
I am creating a workflow using sharepoint designer using my credential (not Service account). I am able to save it but while publishing, its prompting with an error.
The error says "Errors were found while compiling the workflow.The workflow files were saved but cannot run." Clicking advanced button show
"Microsoft.SharePoint.SPException: We're sorry, we weren't able to complete the operation, please try again in a few minutes. If you see this message repeatedly, contact your administrator.
at Microsoft.SharePoint.SPScaleOutDatabaseMap.CreateSqlSession(ISPScaleOutDatabaseMapProvider mapProvider, Byte[] compositeKey, Guid forceRefreshVersion, Guid& version)
at Microsoft.SharePoint.SPScaleOutDatabaseCommandExecutor.Execute(ExecuteDelegate operation, ISPScaleOutDatabaseMapProvider mapProvide"
Any help would be highly appreciated
Thanks,Hi,
According to your post, my understanding is that you got error while publishing workflow using SharePoint designer for SharePoint 2013.
Please check whether the Central Admin > Manage Service Application-> “App Management Service” is started.
Please check whether the “Configure service application associations”, ”App Management Service” is already associated.
Then please check whether the “Manage Services on server” and the “App Management Service” is started.
In addition, please try to re-register Workflow Service.
If the issues still exists, please follow the steps in the
Steps to Verify that Server Is Correctly Set Up. After you verified that the server is correctly set up, follow the steps in the
Steps to Troubleshoot Workflow Management Service and
Troubleshooting the Service Bus for Windows Server then retry your action related to publishing workflows
More information:
http://wp.ahcheng.com/2013/03/23/error-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
ORABPEL-9708 Error while querying workflow task WFTask. Caused by:ORA-00936
Hi,
I am trying to integrate my Primavera p6 web version8.0 with the BPM setup 11.1.1.3 . The BPM is setup fine.
But when I integrated with primavera p6 and on load of workflows portlet of p6 web where the BPM tasks are listed, I am getting following exception in BPM console:
Error while querying workflow task WFTask.
Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
ORABPEL-9708
Error while querying workflow task WFTask .
Error while querying workflow task WFTask.
Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2181)
at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:907)
at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:751)
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:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy220.queryTasks(Unknown Source)
at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(TaskQueryService_oz1ipg_EOImpl.java:1019)
at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused By: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:201)
at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallableStatement.java:864)
at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:948)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1335)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2153)
at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:907)
at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:751)
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:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy220.queryTasks(Unknown Source)
at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(TaskQueryService_oz1ipg_EOImpl.java:1019)
at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Could anybody please help me out in resolving the issue?
Thanks and Regards,
KrishI have the same problem with P6 R8 integration with BPM 11g (running on WL 10.3.5.0). Any sugestions how to solve this?
-
About ale error handling in workflow?
Hi,
can any one explian in detail ale error handling through workflow,its urgent for me.
Regards,
phaniHi Srikanth,
follw the steps it will helpful u,
Pre-requisites.
It is assumed that the reader of this article has some knowledge in SAP workflow BOR objects and ALE Idoc process like process code, Partner Profile etc.
Description
Here, we will be discussing in details the Error handling of an Inbound Idoc through triggering an event, which in turn will be triggering a workflow attached to the workflow.
Steps:-
1. Create custom BOR object with the events, Start and Stop event
2. Create a workflow for the error handling, like generating a notification whenever an error occurred in the Inbound Idoc.
3. Creation of Function Module and attachment with the Process Code
4. Create the settings for the Inbound Process of the Idoc through the Process Code.
Creation of BOR objects. Go to the[http://www.****************/Tutorials/ALE/ErrorHandling/page3.htm] transaction SWO1.
Enter a name for the Object type and click CREATE button for creating the custom BOR object.
Enter the details required for creating the BOR objects...
Create the Key fields and events of the BOR object.
For creating the Key fields place the cursor on the Key fields and Click on the Create Button
Create events for triggering the workflow and stopping the workflow.
For creating the event place the cursor on the EVENTS and Click the create button like Key fields.
Create two events.
Enter the event name description etc and proceed further to create it.
Similarly create another event for ending the Workflow in the similar manner like that created earlier.
Now, Generate the BOR object through the generate button
Release the EVENTS and subsequently release the BOR object.
After the creation of BOR object
Create a workflow for the generation of notification whenever an error is reached in the Inbound Idoc.
Execute the transaction SWDD.
Click on the CREATE button for creating the workflow for error handling.
Choose the Step type to be inserted for the notification like here we are using Send Mail option for sending a mail to the user whenever any error occurred.
Activate the Workflow and test it whether it is working as per the requirement.
After the successful completion it is required to attach the workflow with the event.
Go to the Header section (Denoted by CAP).
Go to the Start Events TAB.
Enter the details of the event with which the workflow should be linked like the category, BOR object type and the event with which that should be linked.
Enter here the BOR object that has been created and give the name of event created for starting the workflow.
Click on the Binding Button for generating the binding between the event and the workflow.
Click on the Binding Button for generating the binding between the event and the workflow.
Generate the binding and click OK button to save the binding.
Click on Activate / deactivate button for activating the linkage.
After the successful linkage the following sign will appear on the workflow.....
This shows that the workflow has been linked to the event and it will be triggered whenever that particular event will be triggered.
After the creation and successful linkage of workflow with the event it is required it is required to generate a function module and attached it to the process code.
Go to SE37 transaction and copy a standard process code function module to a custom one. Do no delete any parameters from the function module as the SAP standard program itself is calling this.
In that function module do the required validation and whenever the validation fails set a standard parameter WORKFLOW_RESULT to 9999 from within the function module, otherwise normally proceed to set the status to 53.
After the creation of function module it is required to attach it to the process code and corresponding attached to the message type at the Partner Profile stage.
The process code is being created through the transaction WE42
Go to the change mode and click the New Entries button for creating new process code.
Enter the Process Code Name, description and choose the processing type as Processing by function module. Click on the extension button of Identification.
The details for the of the Process Code after clicking the identification button will be
Whenever idoc arrives into the Destination system then the standard SAP triggers the Process code attached to the Message type in the partner profile. The partner profile is being maintained in the transaction WE20.
Since, it is and inbound scenario so the message type and the corresponding process code will be maintained for the Inbound Parameters.
Click on Create Inbound Parameters button for creating new Inbound Message type and the corresponding message type.
Enter the process code for the corresponding message type.
Click SAVE button for saving the changes.
Whenever the IDOC arrives into the target system, it checks the partner profile and finds the corresponding process code. The process code is being linked with the function module through which the IDOC is required to be processed.
Regards,
Phani. -
Hi All,
I am getting this error at this step of tutorial. Please help.
To apply the workflow to the Product of the Day page:
1.Open the Product of the Day page in edit mode. If the page is still open from a previous procedure, reload it.
2. In Sidekick, click the Workflow tab and select the Product of the Day workflow. Click Start Workflow.
3. Open the Inbox page. (http://localhost:4502/libs/cq/workflow/content/inbox.html)
4. Select the Step 1 item for the Product of the Day content, and click Open.The form1 page opens.
At this step i am getting the below error.
javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script body.jsp
Please helpNot sure which workflow tutorial you are reffering. The stack trace in log should tell you what is exactly wrong.
-
How to generate the User-Input XML Body for executing workflows via REST APIs: The Solution
I see that executing a workflow via REST APIs requires lot of work to be done just to prepare the right User-input XML body. Any mistake and you have some major debugging to do. Larger the number of User-Inputs, the bigger is the problem.Life is so much easier at the WFA GUI with Display names and tooltip help for User Inputs which are very easy for reading and providing the right values. I don't have any such privileges when manually preparing the User-Input XML body.It’s been asked numerous times how to provide User-Input values for type table, or Query (Multi-Select) etc. These are complex User-Input types and has lots of scope for user mistakes.I can have User-input dependency at WFA GUI which allows me to make the right selection, but while preparing my XML body I need to take care of it myself.An operator is allowed to execute workflows, but the same Display names which help him make the right user-inputs, makes it impossible for him to prepare the user-input body xml. Display names can't be used in in XML body and he can't know the exact parameter names by looking at the Display names. So he need to always contact the Admins/Architects for this. And Architects/Admins can't be expected to keep providing User-Input XML body to operators every operator. How about if I could enter all the User-Input values in my workflow execution at WFA GUI, I can do a preview which passed to my satisfaction and then I can magically get the XML body for it which I can use to execute my workflow from REST APIs from any client. It could be so very much easy for me than building my User-Input XML body manually. This is exactly what I'm going to give you right now. You open the WFA in browser, Go to your workflow, Start execution, you input values from GUI reading carefully the display names, preview it to your satisfaction and then get the XML body. Assume your workflow is called “Workflow to Print a given Message”. It’s a simple workflow with only 1 user-input Displayed as "Message to Print" Prerequisites: The following are the one-time prerequisites. You need PowerShell 3.0 on your WFA server.Import the attached Generate_Workflow_User_Input_Body_in_XML.dar in your WFA. It’s our magical command called "Generate Workflow User Input Body in XML"Add credentials of a WFA Admin/Architect in you WFA itself with Name/IP: localhostMatch: ExactType: OtherName/IP: localhostUsername: <WFA Admin/Architect Username>Password: <User Password> Steps: Suppose you have a workflow called "Workflow to Print a given Message". You want to execute it from REST apis and need to prepare the user input XML body. Select this workflow and clone it. The workflow clone is the exact copy of your original workflow word by word, input-by-input. It will open in Edit mode with name "Workflow to Print a given Message - copy".Add the command "Generate Workflow User Input Body in XML" at the beginning of your workflow. This is a must. This command need to be the first command in your cloned workflow.This command requires no input. So for its Parameters just press okay and save the workflow.You are done.Now Execute the clone workflow. You'll see all the user-inputs available to you. Make your choices as you wish. Preview it to confirm that planning is passed and u have no errors.Execute it now.You'll see that the our magical command "Generate Workflow User Input Body in XML" has failed in our clone workflow execution. Don't worry, its fate was decided to be so. But it didn't fail before giving me what I really wanted. i.e. my XML body for my real workflow. It displayed it in the GUI as well as saved it in your WFA server @ C:\temp\<workflow_name_dd_MM_yyyy_hh_mm_ss_.xmlIt also deleted all the reservations of this particular failed job. So NO major residue left to be cleaned.To summarize: Clone Your workflow and Add the command "Generate Workflow User Input Body in XML" as your first command. Start Execution, provide your User-inputs and preview it. Be satisfied and Press Okay. Now Execute it. After a few scconds this cloned workflow will fail with Error "All done. The Workflow will fail now." See the command execution logs for this command. You'll see the User-Input XML body. It has also saved the XML file at C:\temp in your WFA server. Have fun. sinhaa
Providing a new version 1.1.0 of the command "WFA Schedular" Changes made: Added conditional String Representation based on the Scheduling parameter provided. Provided check for the right number of parameters passed into the command.Added a new parameter "Expiry Date" to automatically stop the recurring execution upon expiry.Check for Posh3.0 version in code.Have Fun!! sinhaa Below example for:Schedule a workflow for recurring execution every alternate day i.e. once in 2 days at 10:30 PM starting 06-Jul-2015 (Today's date is 02-Jul-2015) . The recurring workflow execution should expire on 31-Dec-2015 and stop.
-
Geting validation error for a workflow.
Hi,
Please reply...
Error is :
Step 'Submit Sync on WorkflowProcMgr' is using Business Service 'Server Requests' and Business Service Method 'SubmitRequest'. However, some of the required method arguments are missing. Please specify the missing required arguments.
Process Name is :SISOMBillingSubmitOrderWebService
Siebel Version is :8.1.1.4 SIA [21225] ENU(*)
and Applied AIA251.zip for ACR474.
The process is imported from AIA251 and while validating the error is coming.
Thanks and Regards,
Suchetana.Hi,
You can increase the log level and see what happened in workflow.
In Workflow Deployment -> Active Workflow Process, find for "SISOMBillingSubmitOrderWebService", and the field Monitoring Level, modify for "4 - Debug". Execute the process again and when the finish (ocurrs the error) go to "Workflow Instance Monitor" view and find for the "SISOMBillingSubmitOrderWebService", In "Instance Process" applet, you see a register (the debug must generate a register). If register is generated, navigate to "Step Instance" view and see your problem and data which is used in workflow.
Regards
Maybe you are looking for
-
Amount and quantity of the item in MIRO
Dear Experts, i had a case when i want to make invoice (MIRO) based on PO that had not been received; the amount and quantity are blanked when i already referenced the PO number - for this case i already put the tick box blank for GR-Bsd IV in the re
-
Finger Print Scanner is not working after downloadin​g new SimplePass
I upgraded my laptop ENVY dv6 to windows 8.1 and downloaded the compatible simplepass. I installed it and tried to start using it. When i had to swipe my finger for it to register my fingerprint and start using it, the finger scanner is not turning o
-
How to model this scenario?
hi experts, i want to extract hr person administration infomation to bw, i have 2 idea and cann't determine which one is suitable. 1. extract each infoType(such as pa0001, pa9001...) into seperate cube in bw, and join these cube by infoset(the custom
-
Reports not Generated after moving SCCM 2012 SP1 DB on SQL 2012 SP1 cluster
Hi all, i have moved my SCCM 2012 SP1 DB on SQL 2012 SP1 Failover Cluster,this cluster is a two node cluster.the DB was moved fine and the DB configuration in SCCM Site maintenance was also done successfully.After the migration process,SCCM was worki
-
Why is this session not connecting to the preferred Instance ?
Grid Infrastructure/DB Version : 11.2.0.3 Platform : RHEL 5.8 We have a 3-node cluster and I've configured the RAC service PKDS_UAT_01 with its preferred instance as JDSCFS3 $ srvctl config service -s PKDS_UAT_01 -d JDSCFS Service name: PKDS_UAT_01 S