Task Instance Id.

I need to pass the Task Instance Id (SUN IDM) in the Notification mail. Can anyone tell me how to do that.
Thanks in Adv,
--ravi
Message was edited by:
RavindraPaliwal

Thanks for your reply.. I sorted this out..
If I need the taskInstance id i need to use it in the task node execution context .It works ok..if used inside the "task-assign" system template..

Similar Messages

  • Best practice for upgrading task definition without deleting task instances

    best practice for upgrading task definition in production system without deleting or terminating task instances
    If I try and update a task definition with task instances running I get the following error:
    Task definition 'My Task - Add User' may not be modified while there are active task instances
    Is there a best practice to handle this. I tried to force an update through the console but that didn't work. I tried editing the task from the debug page and got the same error.

    1) Rename the original task definition.
    2) Upload the new task definition with the original name.
    3) Later, after all the running tasks have timed out, delete the old definition.
    E.g., if your task definition is "myWorkflow":
    1) Rename "myWorkflow" to "myWorkflow-old-2009-07-28"
    2) Upload the new task definition as "myWorkflow".
    Existing tasks will stay linked to the original (renamed) workflow definition.
    New tasks will use the new definition.
    As the previous poster notes, depending on the changes you are making, letting the old task definitions stay active could have bad side-effects and might be better avoided.

  • JSF getting task instance id

    Hi all
    I am new to JSF..We are using jsf with the JBPM JPDL Engine.
    My question is i able to access the process instance id using JSF expression #{processIntance.getId} ..how do I get the task Instance id ..
    I tried #{taskInstance.getId} does not seem to work..
    Also if you point me to any useful documentation in this respect..i would be greatful..thanks in advance..

    Thanks for your reply.. I sorted this out..
    If I need the taskInstance id i need to use it in the task node execution context .It works ok..if used inside the "task-assign" system template..

  • Obtain the task instance key

    Hi,
    I have a class which provide an object to a user. The object is pending at a manual confirmation of the operation to pass the state of the resource from provisioning to provisioned.
    Exists any method to obtain the task instance key to set the manual answer throw the OIM API? I have only the object key from de resource.
    Thanks

    Thor.API.tcResultSet getTaskDetail(long processInstanceKey,
    java.util.Map filterMap)
    throws Thor.API.Exceptions.tcAPIException,
    tcAPIExceptionReturns detailed information about all the tasks definitions in the specified provisioning process.
    Parameters:
    processInstanceKey - The key of the process instance in the system.
    Returns:
    A tcResultSet containing one to many rows, each row holding information about a task in the process. The following columns are returned
    Process Definition.Tasks.Key
    Event Handler Manager.Key
    Process Definition.Tasks.Default Assignee
    Process Definition.Tasks.Milestone Dependency
    Process Definition.Tasks.Conditional
    Process Definition.Tasks.Task Name
    Process Definition.Tasks.Milestone Sequence
    Process Definition.Tasks.Milestone Sequence Interval
    Process Definition.Tasks.Required For Completion
    Process Definition.Tasks.Hours
    Process Definition.Tasks.Minutes
    Process Definition.Tasks.Days
    Process Definition.Tasks.Constant Duration
    Process Definition.Tasks.Allow Multiple Instances
    Process Definition.Tasks.Milestone Datalabel
    Process Definition.Tasks.Task Description
    Process Definition.Tasks.Second Duration
    Process Definition.Tasks.Allow Cancellation While Pending
    Process Definition.Tasks.Disable Manual Insert
    Process Definition.Tasks.Milestone Delete Flag
    Process Definition.Tasks.Complete on Recovery
    Process Definition.Tasks.Milestone Mapping Status
    Process Definition.Tasks.Task Effect
    Process Definition.Tasks.Retry Period
    Process Definition.Tasks.Retry Count
    Process Definition.Tasks.Trigger Type
    Process Definition.Tasks.Child Table Name
    Process Definition.Tasks.Assign To User Manager
    Process Definition.Tasks.System Level
    Process Definition.Tasks.Creation Date
    Process Definition.Tasks.Created By
    Process Definition.Tasks.Update Date
    Process Definition.Tasks.Updated By
    Process Definition.Tasks.Note
    Process Definition.Tasks.Row Version
    Throws:
    tcAPIException
    Thanks
    Suren

  • Why Task Instance Name is messed up?

    I kicked off a customized task from console, the task was completed successfully, however, the task instance name displayed on page "Server Tasks ---> All Task" is messed up as following
    TASK7F2DB676E49A6D04:-395D12E7:11989A5891E:-7F0F
    What is the possible problem?
    Have a good one

    first define some variable:
    <Variable name='taskName'>
          <invoke name='getName'>
                   <invoke name='getDefinitionRef'>
                          <invoke name='getTask'>
                                <ref>WF_CONTEXT</ref>
                            </invoke>
                     </invoke>
            </invoke>
      </Variable>now you call rename task workflow application:
    <Activity id='3' name='Rename Task' hidden='true'>
           <Variable name='newTaskName'/>
                    <Action id='0' name='set task name'>
                        <expression>
                            <set name='newTaskName'>
                                <concat>
                                    <ref>taskName</ref>
                                    <s> </s>
                                    <ref>WF_CASE_OWNER</ref>
                                    <s> (</s>
                                    <invoke name='format'>
                                        <new class='java.text.SimpleDateFormat'>
                                            <s>yyyyMMdd HH:mm:ss</s>
                                        </new>
                                        <new class='java.util.Date'/>
                                    </invoke>
                                    <s>)</s>
                                </concat>
                            </set>
                  </expression>
        </Action>
        <Action id='1' process='Rename Task'>
                <Argument name='name'>
                            <ref>newTaskName</ref>
                </Argument>
                <Argument name='makeUnique' value='true'/>
        </Action>thats it.

  • How to measure the task instance size

    I am trying to understand how to measure the custom task instnace size that was occupied in the cache repository. Is there a way to obtain the size (in KB s ) in lighthouse 4.1 +sp5. Please help.                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi, Luiz!
    In order to estimate the instance size, you will have to sum up all the instance variables size.
    From the practical prospective it may be difficult to use the algorithm in cases when your instance variables are not simple types.
    For already existing instances, you can look the instance size in the database:
    An instance is just a java object, that is serialized as a byte[] and stored in the engine database, PPROCINSTANCE table, column INSTDATA.
    You can write a simple program (either java or SQL plus) that would read the instance from the BLOB and measure the size.
    And yes, with large instances you can have performance problems.

  • Create multiple Task Instance from one Task Instance

    We have a process, where user can request for multiple resources(access) in one single request.Currently user has to wait until all the resource requests are approved by application owners to start the provisioning process.
    I am thinking of splitting that one request(task) into multiple task, based on the number of resources requested.so that, if one resource request is approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task and pass the required information to child task?
    2.How do I handle views?Currently since its one task , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view overwritten by the other.
    Thanks.

    We have a process, where user can request for
    multiple resources(access) in one single
    request.Currently user has to wait until all the
    resource requests are approved by application owners
    to start the provisioning process.
    I am thinking of splitting that one request(task)
    into multiple task, based on the number of resources
    requested.so that, if one resource request is
    approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task
    and pass the required information to child task?
    2.How do I handle views?Currently since its one task
    , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view
    overwritten by the other.
    Thanks.Hi,
    yes u can split one task into multiple task means as ur requirment diffrent task for different resource. so u have to write diffrent W/F for each resource and call them by setting a counter for number of resource.
    the below code help u.
    <Variable name='index'>
              <i>0</i>
         </Variable>
    <Activity id='1' name='createNewTask'>
              <Action id='0' name='createView' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='createView'/>
                   <Argument name='type' value='Process'/>
                   <Argument name='viewId' value='Process'/>
                   <Argument name='taskName'>
                             <s>give any name to the task</s>
                   </Argument>
                   <Argument name='process'>
                             <s>task name that u want to launch</s><!-- u can get task name dynamicly by rule also by passing resource name -->
                   </Argument>          
                   <Argument name='accountId' value='$(accountId)'/><!-- pass the required information to child task as argument -->
                   </Action>
                   <Action id='1' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='checkinView'/>
                   <Argument name='view'>
                        <ref>view</ref>
                   </Argument>
                   </Action>
                   <Action id='2'>
                        <set name='view'>
                        <null/>
                        </set>
                   </Action>
                   <Transition to='incrementIndex'/>
    </Activity>
         <Activity id='2' name='incrementIndex'>
              <Action id='0'>
                   <set name='index'>
                        <add>
                             <ref>index</ref>
                             <i>1</i>
                        </add>
                   </set>
              </Action>
              <Transition to='createNewTask'>
                   <lt>
                        <ref>index</ref>
                        <ref>length</ref><!-- number of resource-->
                   </lt>
              </Transition>
              <Transition to='end'/>
         </Activity>

  • How do we determine if a Human Task instance in BPM Workspace is open?

    Hi All,
    An interesting one. How do we programatically determine if a BPM Workspace instance is opened for processing? I would like to ensure that a form is opened only by one user at a time, and any attempt to open the form concurrently will result in the form presenting an error message and then closing itself.
    Any ideas?
    I am posting this on the SOA form as well, as it is the BPM Workspace. Kindly overlook if this is inappropriate.
    JDev : 11g.
    Thank you.

    posting it here will help you for sure
    Business Process Management Suite
    SOA Suite

  • Delay in the task instance

    Hi Experts,
    I am trying to put some kind of delay in my workflow using manualaction timeout option but that is forcing IDM to display a page with the checkbox and Save and Cancel buttons.
    It is also displaying all the variables available to the workflow at that time.
    I dont want to display this page to the end users who would be accessing this application on user page.
    can i use java sleep or something which can do the same task (creating delay)? I dont want users to see that form displaying all the variables.
    would appreciate your comments!!!

    Hi,
    I could not understand the question clearly.
    One thing you can try is to call the approval subprocess to a dummy approver. Set the timeout valriable to intended minutes.
    The approval workflow will return after timing out.
    Regards
    Arjun
    Edited by: arjun.sengupta on Sep 2, 2010 7:24 AM

  • How to print whole task Instance

    Hello everyone,
    I know how to see an unfinished taskInstance from /idm/debug URL. It shows all the steps executed so far. Can i print the same TaskInstance using trace='true' in my code?
    If yes, can you please let me knoe the code?
    When i use :
    <block trace="true">
    <invoke name='getTask'>
    <ref>WF_CONTEXT</ref>
    </invoke>
    </block>
    It prints: "TaskInstance:TASK90F8BC7FBBFA7424:3908423C:1331B5D54A9:-7E55"
    I want to print the whole taskInstance XML not just the ID.
    Thanks in advance

    thanks for reply.....but it didnt work as no suchMethod exception occured....the following code however worked:
    <block trace="true">
    <set name='buff'>
    <new class='java.lang.StringBuffer'/>
    </set>
    <set name="wfCase">
    <invoke name='getExtension'>
    <invoke name='getTask'>
    <ref>WF_CONTEXT</ref>
    </invoke>
    </invoke>
    </set>
    <invoke name='toXml'>
    <ref>wfCase</ref>
    <ref>buff</ref>
    <i>1</i>
    </invoke>
    <ref>buff</ref>
    </block>
    Thanks for guidance!!

  • OIM 10g : SQL Script to Delete or Cancel process instance tasks for user resources

    Hello,
    I have users with a resource with a process instance that have a large number (1000) of task instance related to reconciliations (Reconciliation Update Received).
    And when trying to revoke this resource, OIM take a long time to perfom this job, it is due to the fact that all this taks are canceled one by one...
    My question is : I want to perform manualy using a script this cancel of all this tasks, or maybe better, delete all this tasks when there'are too many, can someone provide me this sql scripts.
    Thanks in advance.

    I'm running this script into an adapter with the following code :
    public boolean clearTaskInstances(String user_key, String process_name, String task_name) throws OIMException {
      $logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 1");
      tcDataProvider provider = getOIMConnection().getDataBase();
      $logger.debug("Utils.clearTaskInstances() : Inside deleting task instances debug 2");
    String query = "DELETE FROM OSI WHERE OSI.MIL_KEY=" +  
      "(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=" +
      "(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME=" +
      "'" + process_name + "') AND MIL.MIL_NAME='" + task_name + "'" +
      "AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='" + user_key +"'))";
      $logger.debug("Utils/clearTaskInstance : Delete Query = " + query);
      PreparedStatementUtil preparedStatement = new PreparedStatementUtil();
       preparedStatement.setStatement(provider, query);
       try {
       preparedStatement.executeUpdate();
      $logger.debug("Utils/clearTaskInstance : Delete Query executed");
      return true;
      } catch (Exception e) {
      $logger.error("Utils/clearTaskInstance : Error while executing Delete Query : " + e);
      return false;
    , but this generate 18M of SQL error logs !!
    The same SQL request in SQL Dev works fine, the same code with OIM 11gR2 works fine too, the problem seems to be only with OIM 9.1.
    The first lines in the logs are :
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],connection object created
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils.clearTaskInstances() : Inside deleting task instances debug 2
    DEBUG,12 Jul 2013 09:03:20,972,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Delete Query = DELETE FROM OSI WHERE OSI.MIL_KEY=(SELECT MIL.MIL_KEY FROM MIL WHERE MIL.TOS_KEY=(SELECT TOS_KEY FROM TOS LEFT JOIN PKG ON PKG.PKG_KEY=TOS.PKG_KEY WHERE PKG.PKG_NAME='SMC Prov Process') AND MIL.MIL_NAME='Reconciliation Update Received'AND OSI.ORC_KEY IN (SELECT ORC.ORC_KEY FROM ORC WHERE ORC.USR_KEY='78'))
    ERROR,12 Jul 2013 09:03:46,641,[XELLERATE.CUSTOM],Utils/clearTaskInstance : Error while executing Delete Query : com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
    ERROR,12 Jul 2013 09:03:47,047,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo Error : ScheduleItem has  No Milestone.
    ERROR,12 Jul 2013 09:03:47,050,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key =
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,051,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: ORA-00936: missing expression
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,052,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkApprovalProcess encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
    SQL State: 42000Vendor Code: 936Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
      at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Source SQL Exception:
    java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
      at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
      at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
      at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
      at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
      at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1378)
      at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
      at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:479)
      at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,12 Jul 2013 09:03:47,054,[XELLERATE.DATABASE],Error: Error Keyword: DAE.UNKNOWN_CODE
    Description: An unknown error code was passed.
    Remedy: Contact your system adminstrator.
    Action: E
    Severity: C
    Help URL:
    Detail:
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.checkApprovalProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcScheduleItem.eventPreInsert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
      at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelORC(Unknown Source)
      at com.thortech.xl.dataobj.util.tcProcessUtilities.cancelProcess(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.dataobj.tcOIU.revokeObjectInstance(Unknown Source)
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperationsSession.revokeObjects(Unknown Source)
      at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.revokeObjects(tcUserOperations_voj9p2_EOImpl.java:2285)
      at Thor.API.Operations.tcUserOperationsClient.revokeObjects(Unknown Source)
      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 Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.security.Security.runAs(Security.java:41)
      at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
      at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
      at $Proxy60.revokeObjects(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.revokeProvisionedResources(Unknown Source)
      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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
      at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
      at com.thortech.xl.webclient.actions.ProvisionedResourcesForUserAction.execute(Unknown Source)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = Description: ORA-00936: missing expression
    SQL State: 42000Vendor Code: 936Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
      at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
      at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)

  • DAC ETL tasks failing with Error Code

    Here is a copy of just 1 of the tasks that fail. I did search for this and found reference to increasing DB Processes to 500 but that had no effect.
    I have tried to reduce the number of Maximum Sessions in Setup to but it had no effect.
    Some of the tasks completed. The remaining stay as Failed even after re-running ETL.
    Using Informatica 8.1.1 SP5 32bit
    Build: 7.9.5.1.011209.1448
    Release Version: Oracle Business Intelligence Applications 7.9.5.1
    Package: 011209.1448
    Oracle 32bit 10g client
    Windows Server 2003 R2 64bit
    Details:
    pmcmd startworkflow -u Administrator -p **** -s 10.1.11.69:4006 -f SDE_ORAR12_Adaptor -lpf D:\OracleBI\DAC\Informatica\parameters\SDE_ORAR12_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.txt SDE_ORA_Stage_ValueSetHier_Extract_Full
    Status Desc : Failed
    WorkFlowMessage :
    =====================================
    STD OUTPUT
    =====================================
    Informatica(r) PMCMD, version [8.1.1 SP5], build [186.0822], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    Invoked at Thu Apr 15 14:39:18 2010
    Connected to Integration Service at [10.1.11.69:4006]
    Folder: [SDE_ORAR12_Adaptor]
    Workflow: [SDE_ORA_Stage_ValueSetHier_Extract_Full] version [1].
    Workflow run status: [Failed]
    Workflow run error code: [36331]
    Workflow run error message: [WARNING: Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] will be failed.]
    Start time: [Thu Apr 15 14:38:58 2010]
    End time: [Thu Apr 15 14:39:03 2010]
    Workflow log file: [d:\Informatica\PowerCenter8.1.1\server\infa_shared\WorkflowLogs\SDE_ORA_Stage_ValueSetHier_Extract_Full.log]
    Workflow run type: [User request]
    Run workflow as user: [Administrator]
    Integration Service: [PowerCenter_Integration_Service]
    Disconnecting from Integration Service
    Completed at Thu Apr 15 14:39:18 2010
    =====================================
    ERROR OUTPUT
    =====================================
    Error Message : Unknown reason for error code 36331
    ErrorCode : 36331
    Workflow Log.
    INFO : LM_36435 [Thu Apr 15 14:38:58 2010] : (4716|4956) Starting execution of workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] in folder [SDE_ORAR12_Adaptor] last saved by user [Administrator].
    INFO : LM_44195 [Thu Apr 15 14:38:58 2010] : (4716|4956) Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] service level [SLPriority:5,SLDispatchWaitTime:1800].
    INFO : VAR_27085 [Thu Apr 15 14:38:58 2010] : (4716|4956) Parameter file [d:\Informatica\PowerCenter8.1.1\server\infa_shared\Temp\SDE_ORA_Stage_ValueSetHier_Extract_Full_a04956] is opened for [workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full]].
    INFO : LM_36330 [Thu Apr 15 14:38:58 2010] : (4716|4956) Start task instance [Start]: Execution started.
    INFO : LM_36318 [Thu Apr 15 14:38:58 2010] : (4716|4956) Start task instance [Start]: Execution succeeded.
    INFO : LM_36505 : (4716|4956) Link [Start --> SDE_ORA_Stage_ValueSetHier_Extract_Full]: empty expression string, evaluated to TRUE.
    INFO : LM_36388 [Thu Apr 15 14:38:58 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] is waiting to be started.
    INFO : LM_36330 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution started.
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6793 Fetching initialization properties from the Integration Service. : (Thu Apr 15 14:38:58 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [DISP_20305 The [Preparer] DTM with process id [7972] is running on node [node01_OBIEEDEV01].
    : (Thu Apr 15 14:38:58 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [PETL_24036 Beginning the prepare phase for the session.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Connect to Repository].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Connect to Repository]. It took [0.234368] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6794 Connected to repository [PowerCenter] in domain [Domain_OBIEEDEV01] user [Administrator]]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Fetch Session from Repository].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Fetch Session from Repository]. It took [0.234367] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [DataWarehouse] for session parameter:[$DBConnection_OLAP].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [ORA_R12] for session parameter:[$DBConnection_OLTP].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27028 Use override value [9] for mapping parameter:[$$DATASOURCE_NUM_ID].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [VAR_27027 Use default value [] for mapping parameter:[mplt_BC_ORA_ValueSetHier.$$LAST_EXTRACT_DATE].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6721 Started [Partition Group Formation].]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6722 Finished [Partition Group Formation]. It took [0.031249] seconds.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [PETL_24037 Finished the prepare phase for the session.]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6792 Notifying the Integration Service that the prepare phase has been completed. : (Thu Apr 15 14:38:59 2010)]
    INFO : LM_36488 [Thu Apr 15 14:38:59 2010] : (4716|4956) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] : [TM_6228 Writing session output to log file [d:\Informatica\PowerCenter8.1.1\server\infa_shared\SessLogs\SDE_ORAR12_Adaptor.SDE_ORA_Stage_ValueSetHier_Extract_Full.log].]
    INFO : LM_36682 [Thu Apr 15 14:38:59 2010] : (4716|4960) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: started a process with pid [7972] on node [node01_OBIEEDEV01].
    ERROR : LM_36320 [Thu Apr 15 14:39:03 2010] : (4716|4964) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution failed.
    WARNING : LM_36331 : (4716|4964) Session task instance [SDE_ORA_Stage_ValueSetHier_Extract_Full] failed and its "fail parent if this task fails" setting is turned on. So, Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full] will be failed.
    ERROR : LM_36320 [Thu Apr 15 14:39:03 2010] : (4716|4964) Workflow [SDE_ORA_Stage_ValueSetHier_Extract_Full]: Execution failed.
    Thanks

    Can you please post the session log?
    Thanks,
    Austin

  • BPM task not getting created

    I have modelled a BPM process and attached Webdynpro UI's to its human activities.
    I am able to start the process from the Process Repository, but the tasks are not getting visible in the Uniiversal Worklist of the Task Principle Owner.
    When I'm logging on with administrator id, and going to Manage Processes screen, I'm seeing the active task correctly highlighted.
    Also, when I'm logging on with administrator id, and going to Manage Tasks screen, I'm not seeing any tasks being created.
    What may be the problem?

    There was a problem with setting the Locale in the BPM configuration wizard. After fixing it, the first human activity is getting created and task is assigned. When I'm completing the first human activity and submitting the form, task is not getting assigned to the user/principle owner of the second human activity.
    When I open Manage Process, and see the history, I see the process status as Suspended and the following log:
    15-Jun-2010 15:57:49 Task completed Task completed by BPEMUser, Operator Human interaction
    15-Jun-2010 15:56:44 Event notification cannot be sent Event notification could not be sent to recipients <mail id removed> for task instance ID 35e69fcb-788e-11df-c7cd-02004c4f4f50. Problem: Cannot send e-mail because the e-mail session cannot be retrieved Human interaction
    15-Jun-2010 15:56:43 Task created Task created Human interaction
    No task created for second human activity.
    What may be the problem now?

  • Best practice for upgrading task definition in production system

    If I try and update a task definition with task instances running I get the following error:
    Task definition 'My Task - Add User' may not be modified while there are active task instances
    Is there a best practice to handle this. I tried to force an update through the console but that didn't work. I tried editing the task from the debug page and got the same error.

    The best way for upgrade purposes is to use the rename function of the TaskDefinition from the lh command line utility.
    Basically renames all current task instances with the TaskDefinition name. You can then alter the existing TaskDefinition and upload into identity manager.

  • What is Best Practice for Adding Thousands of Tasks to CloudJob?

    I am looking for some guidance on adding lots of tasks to a CloudJob.
    I have thousands of tasks to add to a job, and several parent tasks running across multiple TVMs are participating in adding the new tasks to the job. However, I can reproduce my problem with a single task that tries to add new tasks to the job with
    a max degree of parallelism of 15.
    In each thread, I call IBatchClient.OpenWorkItemManager, then IWorkItemManager.GetJobAsync, then ICloudJob.AddTaskAsync, followed by ICloudJob.CommitAsync in order to add a new task. I will occasionally get a "Server encountered an internal error. Please
    try again after some time." exception. After I delay, and then retry the entire series of operations again (from OpenWorkItemManager all the way to ICloudJob.CommitAsync), I receive the "A task instance can only be added to a single job." exception.
    Since I am receiving these exceptions frequently, I am hoping that there is a better way to add a lot of tasks to the job. I see a way to add multiple tasks to a work item, but I don't know what the tasks will be ahead of time. I have to wait until I am
    well into processing the job before I know what new tasks need to be added to the job.

    Am I correct in assuming you're doing something like this?
    Parallel.For(0, 100, new ParallelOptions() { MaxDegreeOfParallelism = 15}, async (idx) =>
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    ICloudJob job = await manager.GetJobAsync("wiName", "jobName");
    await job.AddTaskAsync(new CloudTask("foo", "cmdline"));
    You are doing some extra exception handling and stuff too as well I assume.
    There are a few improvements you can/should make that ought to make your life easier.
    First, the GetJobAsync() call actually does a round trip to the server -- you can avoid doing this for every task you add and reduce your round trips by half:
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    ICloudJob job = manager.GetJob("wiName", "jobName");
    //Foo("Test", "Abc", "test");
    Parallel.For(0, 100, new ParallelOptions() { MaxDegreeOfParallelism = 15}, async (idx) =>
    await job.AddTaskAsync(new CloudTask("foo", "cmdline"));
    Even more than that, we provide a helper method which has this functionality and performs bulk adds behind the scenes, which will reduce your round trips by about a factor of 50-100.
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    List<ICloudTask> tasksToAdd = new List<ICloudTask>(); //Popualte this with your tasks
    await manager.AddTaskAsync("wiName", "jobName", tasksToAdd, new BatchClientParallelOptions() { MaxDegreeOfParallelism = 15 });
    Additionally, we have a way where you can configure a "retry policy" without having to manually do it yourself on every call.  It's pretty handy, you can set it on the BatchClient itself, or on an individual call, below you can see I set it
    on both (just to show you - in a real application usually you would just set it on the batchClient and be done with it -- it would then apply to all operations done by the batch client):
    IBatchClient batchClient = BatchClient.Connect("", new BatchCredentials());
    IRetryPolicy retryPolicy = new LinearRetry(TimeSpan.FromSeconds(5), 6);
    batchClient.CustomBehaviors.Add(new SetRetryPolicy(retryPolicy));
    IWorkItemManager manager = batchClient.OpenWorkItemManager();
    List<ICloudTask> tasksToAdd = new List<ICloudTask>(); //Popualte this with your tasks
    await manager.AddTaskAsync(
    "wiName",
    "jobName",
    tasksToAdd,
    new BatchClientParallelOptions() { MaxDegreeOfParallelism = 15 },
    additionalBehaviors: new List<BatchClientBehavior>() { new SetRetryPolicy(retryPolicy) });
    Also a clarification -- you cannot ever add tasks to a work item.  The method for add tasks happens to live on the "WorkItemManager" which a bit confusingly also manages job related stuff as well (since job is a child of work item). 
    Whenever you are adding tasks, you are always adding tasks to a job, so the "workItemManager" methods related to adding tasks all take job name as a parameter.
    Another issue you may be hitting has to do with .NETs service point manager... see:
    https://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.defaultconnectionlimit%28v=vs.110%29.aspx
    You may want to set this property to be something larger than the default of 2.
    Now, it's possible after making the changes I suggested you still experience some issues -- give these changes a try and if you're still having issues come back and let us know what they are and we can help you improve the submission code further.
    You can also see the sample code for TextSearch which demonstates this in the JobManager task.
    https://code.msdn.microsoft.com/windowsazure/Azure-Batch-Sample-Text-87d08017/sourcecode?fileId=129811&pathId=1120079659
    Hope that helps,
    -Matt

Maybe you are looking for