Finding PeopleSoft Process Instance using Oracle session info

Hi:
I'm on Oracle 10.2.0.3 and PeopleSoft Financials 8.9.
Does anybody know how to get PeopleSoft Process Instance using v$session, v$process and other info?
TIA.

Hey Sybrand,
Thanks for your reply.
I am actually a dba trying to help PeopleSoft developers. The question is on the edge between Oracle & PeopleSoft. And yes, I took a close look at v$session. It shows Oracle Session info while Process Instance is a PeopleSoft identifier sitting in PSPRCSRQST table. I intuitively feel that there should be a database-level connection between the two.
All ideas appreciated.
I hope they will show PI in v$session in subsequent versions of Oracle...

Similar Messages

  • Modify process flows using Oracle Workflow

    Hi,
    I'd like to use Oracle Workflow to enhance the process flows created using Warehouse Builder, as some features are missing if compared with the full-blown Workflow Builder, and it is desired to integrate OWB processes in larger ones. I have successfully applied changes on the Workflow processes generated from OWB but it's not clear how far I can go, especially because I don't want to lose too much of the benefits of the original Workflows:all mapping results should continue to show in the Runtime Audit Browser, and it shouldn't be impossible to deploy the processes in a new environment.
    I am worried that when I change the processes manually in Workflow, I lose the possibility to re-deploy automatically from OWB, but this is tolerable as long as the final Workflow processes are maintainable and deployable.
    Has anyone tried a similar approach? How much can it be feasible/supported??
    regards, Antonio

    Jean-Pierre, thank you very much for your reply.
    I'm still evaluating what will be done through OWB and what through OWF. However my first attempts were oriented along the lines you suggest, that is to keep the process flows generated by OWB untouched, and use them as building blocks for larger processes. At the moment I am trying to realize what balance gives the best result. One extreme would be to use OMB scripting to wrap mappings in very simple generated processes, deploy them and build all the workflow logic in OWF. The other extreme would be to implement complete workflows through OWB and modify them through Workflow, but I'm sure this would certainly not be supported (as the Workflow developer manual states).
    My intent is to use OWF to add some flow logic I find difficult to introduce using OWB, especially for recovery actions, eg I added a join operator to the standard AND and OR, which purpose is to wait that all joining processes complete and than to branch depending on a failure in any process. I don't want the following recovery/logging actions to start unless processing has stopped.
    I built such logic very easily throw OWF but it's very involved using OWB, unless I'm missing something...
    Antonio

  • One Unix process and multiple Oracle sessions

    Hi All,
    When I checked one particular Unix process, I have seen that in the database there are 3 different Oracle sessions spanning days between them. Can you please tell me how this is possible.
    Regards
    Satish

    Hi Yas,
    The query I ran is tghe following.
    SELECT Substr(a.username,1,15) "Username",
    a.osuser "OS User",
    a.sid "Session ID",
    a.serial# "Serial No",
    d.spid "Process ID",
    a.lockwait "LockWait",
    a.status "Status",
    Trunc(b.value/1024) "PGA (Kb)",
    Trunc(e.value/1024) "UGA (Kb)",
    a.module "Module",
    Substr(a.machine,1,15) "Machine",
    a.program "Program",
    Substr(To_Char(a.logon_Time,'DD-Mon-YYYY HH24:MI:SS'),1,20) "Time"
    FROM v$session a,
    v$sesstat b,
    v$statname c,
    v$process d,
    v$sesstat e,
    v$statname f
    WHERE d.spid=29789 and
    a.paddr = d.addr
    AND a.sid = b.sid
    AND b.statistic# = c.statistic#
    AND c.name = 'session pga memory'
    AND a.sid = e.sid
    AND e.statistic# = f.statistic#
    AND f.name = 'session uga memory'
    ORDER BY 1,2;
    I passed spid to it.
    Regards
    Satish

  • Getting Defunct processes while using Oracle iPlanet Web Server 7.0.9 in Solaris 10

    Hi,
    I have installed Oracle iPlanet Web Server 7.0.9 in our Solaris 10. \
    Successfully Configured iPlanet web server using the manual and the application scripts are working fine with this iPlanet webserver.
    Even if the application is working fine, the iPlanet webserver stop responding at a period of time and needs to be restart manually...
    Found that lots of defunct processes(PPID of webservd) are created and these defuncts (zombies) leads to stop the services.
    I am not good in iPlanet webserver configuration settings on the Solaris 10 OS.
    Could anyone help me to fix this issue ?
    Thanks,
    Antony.

    Here is the truss output (last few lines before the application hungs...
    /14:    2516.1065        0.0000 time()                                          = 1428330724
    /49:    2516.1382        0.0001 pollsys(0xFFFFFFFF71E3FB40, 1, 0xFFFFFFFF71E3FA80, 0x00000000) = 0
    /49:    2516.1386        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /49:    2516.1389        0.0000 lwp_kill(66, SIG#0)                             Err#3 ESRCH
    /49:    2516.1412        0.0022 munmap(0xFFFFFFFF70D00000, 262144)              = 0
    /49:    2516.1413        0.0000 lwp_exit()
    /39:    2516.1553        0.0000 pollsys(0xFFFFFFFF7283FB40, 1, 0xFFFFFFFF7283FA80, 0x00000000) = 0
    /39:    2516.1557        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /39:    2516.1559        0.0000 lwp_kill(75, SIG#0)                             Err#3 ESRCH
    /39:    2516.1561        0.0001 munmap(0xFFFFFFFF70400000, 262144)              = 0
    /39:    2516.1562        0.0000 lwp_exit()
    /25:    2516.1614        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 Err#62 ETIME
    /16:    2516.1671        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /35:    2516.2558        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 Err#62 ETIME
    /16:    2516.2673        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.3675        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /36:    2516.4317        0.0000 lwp_park(0xFFFFFFFF72CFBE60, 0)                 Err#62 ETIME
    /15:    2516.4505        0.0000 lwp_park(0xFFFFFFFF7613F9D0, 0)                 Err#62 ETIME
    /16:    2516.4677        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.5679        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /27:    2516.6533        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) = 0
    /16:    2516.6681        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /1:     2516.7105        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
    /16:    2516.7684        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /34:    2516.8137        0.0000 lwp_park(0xFFFFFFFF730FBA70, 0)                 Err#62 ETIME
    /16:    2516.8685        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2516.9686        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.0688        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /14:    2517.1057        0.0001 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
    /14:    2517.1061        0.0000 time()                                          = 1428330725
    /25:    2517.1618        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 Err#62 ETIME
    /16:    2517.1691        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /35:    2517.2561        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 Err#62 ETIME
    /16:    2517.2693        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.3695        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /36:    lwp_park(0xFFFFFFFF72CFBE60, 0) (sleeping...)
    /15:    lwp_park(0xFFFFFFFF7613F9D0, 0) (sleeping...)
    /16:    2517.4696        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /54:    2517.5362        0.0000 pollsys(0xFFFFFFFF7193FB40, 1, 0xFFFFFFFF7193FA80, 0x00000000) = 0
    /54:    2517.5364        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /54:    2517.5367        0.0000 lwp_kill(53, SIG#0)                             Err#3 ESRCH
    /54:    2517.5368        0.0001 munmap(0xFFFFFFFF71A00000, 262144)              = 0
    /54:    2517.5369        0.0000 lwp_exit()
    /16:    2517.5697        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /27:    pollsys(0x00000000, 0, 0xFFFFFFFF7383FD20, 0x00000000) (sleeping...)
    /16:    2517.6699        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /1:     2517.7106        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF7FFFA6A0, 0x00000000) = 0
    /1:     2517.7111        0.0001 close(26)                                       = 0
    /1:     2517.7113        0.0000 write(24, " 8", 1)                              = 1
    /1:     2517.7115        0.0000 close(23)                                       = 0
    /1:     2517.7116        0.0000 close(24)                                       = 0
    /1:     2517.7118        0.0000 lwp_unpark(25)                                  = 0
    /25:    2517.7118        0.0000 lwp_park(0xFFFFFFFF73CFBA90, 0)                 = 0
    /1:     2517.7120        0.0000 lwp_unpark(35)                                  = 0
    /35:    2517.7120        0.0000 lwp_park(0xFFFFFFFF72EFBA90, 0)                 = 0
    /25:    2517.7121        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /25:    2517.7122        0.0000 lwp_kill(61, SIG#0)                             Err#3 ESRCH
    /35:    2517.7123        0.0000 lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF]
    /25:    2517.7124        0.0001 munmap(0xFFFFFFFF71200000, 262144)              = 0
    /25:    2517.7125        0.0000 lwp_exit()
    /1:     2517.7126        0.0000 lwp_wait(25, 0xFFFFFFFF7FFFA47C)                = 0
    /35:    2517.7127        0.0000 lwp_kill(52, SIG#0)                             Err#3 ESRCH
    /35:    2517.7128        0.0001 munmap(0xFFFFFFFF71B00000, 262144)              = 0
    /35:    2517.7129        0.0000 lwp_unpark(1)                                   = 0
    /1:     2517.7129        0.0000 lwp_park(0x00000000, 0)                         = 0
    /35:    2517.7130        0.0000 lwp_exit()
    /1:     2517.7132        0.0000 lwp_wait(35, 0xFFFFFFFF7FFFA47C)                = 0
    /1:     2517.7134        0.0000 close(13)                                       = 0
    /16:    2517.7700        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /34:    2517.8141        0.0000 lwp_park(0xFFFFFFFF730FBA70, 0)                 Err#62 ETIME
    /16:    2517.8702        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /16:    2517.9704        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /22:    2517.9743        0.0001 pollsys(0xFFFFFFFF73F3FA98, 1, 0xFFFFFFFF73F3F9D0, 0x00000000) = 0
    /16:    2518.0706        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF742FBDD0, 0x00000000) = 0
    /14:    2518.1063        0.0000 pollsys(0x00000000, 0, 0xFFFFFFFF744FBDA0, 0x00000000) = 0
    /14:    2518.1073        0.0000 time()                                          = 1428330726
    /1:     2518.1082        0.0000 lseek(1, 0, SEEK_CUR)                           = 0
    /1:     2518.1083        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1085        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1093        0.0000 lseek(1, 0, SEEK_CUR)                           = 0
    /1:     2518.1094        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1095        0.0000 lseek(2, 0, SEEK_CUR)                           = 4128
    /1:     2518.1102        0.0000 _exit(0)

  • How to Find whether the instance of  Oracle 9iAS is running

    Dear All,
    Is it possible to find out whether the instances of 9ias running,in which port,the home directory of the instance.
    This is Very Urgent
    Regds
    Sree

    solaris has a command lsof
    lsof -i TCP:port
    this shows the uid of the process that is running on the given port.
    If you know the port, you can do
    ps -ef |grep lsof -i TCP:port
    Also try
    ps -ef |grep java
    This would give you a bunch of processes
    Don't know if the pipe would work, but you get the idea....

  • Find application module instance using groovy script

    Hi,
    Can any one help me to find the instance of a specific application module using a groovy script.
    I know the below is going to give me the current application module instance
    adf.object.applicationModule.findViewObject("ViewObject").first().getAttribute("name")But I should be able to find a specific application module and then proceed with finding the viewObject in it.....
    Edited by: vijai on Mar 6, 2012 7:21 AM

    Hi john,
    This is the summary of my issue.....
    I have few Appmodules among which one is used for administration purpose. I have a particular ViewObject say V1 that is used in all the AppModules as instances from which values are used as bind variable values in viewObject query (So when these instances gets executed first time the bind variable are set). In one operation the user changes the value in the administration app module ViewObject V1 and commits it. So we face two issues here.....
    1. I need to refresh all the ViewObjects in the other appmodules
    2. and I need to refresh the Bind Variables values in the ViewObject query (or) Give the refreshed values in the page bindings Execute With Params.
    In order to do this stuffs I thought I would make a groovy script and use the viewObject in the Administration ViewObject for values in Bind variables,ExecuteWithParams value etc......
    Pls give me a better approach or a better groovy script to do this...........

  • Finding all portlet instances used in a specific page group?

    Is there a way of retrieving all the unique portlet instance ID's (reference path) used in a specific page group???

    Is there a way of retrieving all the unique portlet instance ID's (reference path) used in a specific page group???

  • How to get child process instance id from main process

    Hi All,
    I have a main process invoiking a child process 1 and child process 1 inturn calling child process 2.Is there any way to get the child process 2 instance id from main process or main process instance id from child process 2.. Using tree finder in BPEL Control i can find the direct sub process(child 1) instance id from the main process instance. Is it possible to trace Sub process 2 instance id without going for the instance detail of sub process 1.
    Thanks in advance
    ChitraDevi

    you could easily derive this from the bpel cube_instance table. using cikey and parent_id columns. you can use IInstanceMetaData javadoc, it has method called getParentId( ) to get the id. you can get the root id (instance-id of the main bpel process instance) using getRootId( ). you can checkout this blog.
    http://tech-sash.blogspot.com/2008/04/oracle-soa-suite-retrieving-process.html

  • Abort an instance using ProcessService (Fuego.Papi.ProcessService)

    Hi Folks,
    I want to abort a process instance using ProcessService (Fuego.Papi.ProcessService)
    This is how i am trying to do the same:
    +if (ivBPMObject1.bpmObject1Option != "TRUE") {+
    ProcessService.connectTo(url : Fuego.Server.directoryURL, user : "pavan",
    password : "");
    +// ivInstance2Id is the InstanceId of the other split branch which is alive and which needs to be suspended+
    lvInstance = ProcessService.getInstance(instance : ivInstance2Id.id);
    +// abort+
    lvInstance.abort();
    ProcessService.disconnectFrom();
    +}+
    I get the following exception in the line lvInstance.abort() :.
    The batch operation could not be executed for all selected instances.
    Internal Exceptions:
    +>> /MainProcess#Default-1.0/1/2:+
    Instance '/MainProcess#Default-1.0/1/0' could not be locked because participant 'Server' is currently locking it
    I am running this from the Embedded Workspace of Oracle BPM Studio and I dont see any participant 'Server' in the directory.
    How can i suspend/abort this instance?
    Is there a way that my user/participant 'pavan' can be given rights/privelege to take 'Server's instances?
    I tried using 'Server' as user but i dont know the credentials for 'Server' - so that attempt too failed :(.
    can anyone please help me out?
    Regards,
    user8702013

    Thank you Ariel,
    Yes, I have two 'approvals' happening in parallel - in two branches of a split. when one approval comes 'unapproved', there is no point continuing with the other - i have to abort it.
    But if i set the setting to 'generate independent copies', how will i get the 'instanceId' of the second branch when only the first branch has reached the 'join'? (i had thus made the 'shared' to be true).
    My requirement is that i have two branches in a split. these two split branches call two different approval subprocess which go into user interaction tasks. but when one one approval is rejected (and reaches the join), i want to abort the other instance (atleast of the called subprocess) so that the redundant approval user task of the second branch can be avoided.
    I have been struggling with this for the past couple of days :(
    I am trying to see if i can get the 'instances' of the subprocess in question and find the instance to be killed (aborted) by checking the parents (the parent should be my process). i am getting problems there too. am stranded...
    Regards,
    user8702013

  • Programatically deleting the completed process instances

    Hi,
    I have too many completed process instances in my dev system. Deleting them using "Administration -> Archiving and Deleting" is very cumbersome and also giving lots of errors. Is it possible to delete all the completed/erroneous process instances programatically using GP API? If yes, could you please tell me what the class/package/api is? I searched through the API but did not find anything useful.
    Thanks
    Ram

    Hi David,
    Thanks for the response. When I try to delete all process instances using the "Archiving and Deleting" tool, I get the below error. Looks like there is an error while loading all the process instances.
    java.lang.NullPointerException
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.createAllInstanceElements(VProcessInstances.java:633)
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.loadAllInstances(VProcessInstances.java:502)
         at com.sap.caf.eu.gp.ui.admin.arch.VProcessInstances.onPlugFromNavigation(VProcessInstances.java:234)
         at com.sap.caf.eu.gp.ui.admin.arch.wdp.InternalVProcessInstances.wdInvokeEventHandler(InternalVProcessInstances.java:249)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:881)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    In my worklist, there are 2 workitems in erroneous category. When I try to open them by clicking the links, I get the error "Could not retrieve process instance: contact your system administrator". May be these 2 workitems are the reason for the above error.
    I tried the "Global Settings" to delete the completed, erroneous and terminated processes after 1 day, but it doesn't seem to be working.
    Thanks
    Ram

  • How to Identify GP Process ID from Process Instance ID

    Hi,
    I am retrieving the running process instances using following method.
    IGPProcessInstanceInfo[] runningInstances =
                        runtimeManager.getRunningInstances(
                             GPSearchRole.SEARCH_ROLE_OVERSEER,
                             fromDate,
                             toDate,
                             userContext);
    I need to choose only the process instances of one particular process (I have process id of this GP). From the IGPProcessInstanceInfo object I can get the Process Instance ID. But I am not finding any API to findout the Process ID (not process instance id) of this process instance.
    Once I get the process id, I can compare the process ids and decide whether it is related to my process or not.
    Is there a way to find this information?
    Thanks
    Ram

    Hi Ram,
    the ID you have there is a String variable in the template <TemplateID>a<ProcessID>.
    I guess you are looking for a process template, so you can split that String by "a" and use the first Int and then compare that Int.
    Hope that helps.
    Regards,
    George.

  • ALBPM: creating a new process instance in response of a DB update

    Hi, everyone.
    I am quite a newbie in ALBPM, but I want to make everyone a question:
    Is it possible to create a new instance of a process in response to the update or insert of a new row in a DB?
    I guess that the magic is in the Global Automatic Activity that listens to an event...
    Thanks a lot to everyone!!!
    Riccardo
    --

    Two techniques I've seen work in the past to create an instance when a new row is added to a database table:
    1) Think someone mentioned this already, but add a trigger in the database that invokes PAPI which in turn can create an instance
    or
    2) Do what I'd suggested below. Create a table that has a column named something like "JUSTADDED" which stores an integer. Using a global automatic, poll the table periodically looking for rows that are boolean true (use a "for each ... select ... where JUSTADDED = 1..."). For every row that it finds create an instance using the logic I'd written in this thread previously. Be sure to do an UPDATE on this row, setting the value of JUSTADDED to 0 while you're still in the same loop.
    Hope this is clearer,
    Dan

  • A few process instances in automatic activity  simultaneously

    Hi
    I am creating and initiating new process instance using Global Creation activity. I have put screenflow in Global Creation. An instance after completing the screenflow in Global Creation activity goes to BeginIn of the process. When I test it many times I get only  from time to time warning:
    Instance '/BackgroundUpdate#Default-1.0/157/0@xxx' is not in activity '/BackgroundUpdate#Default-1.0/doUpdate'.
    Details: Instance is in activity '/BackgroundUpdate#Default-1.0/WaitToProcessNextPackage' and has status 'RUNNING (1)'.
    "doUpdate" and "WaitToProcessNextPackage" are activities (automatic components) placed after Begin in the process ("doUpdate" is subsequent for BeginIn and "WaitToProcessNextPackage" is subsequent to "doUpdate" activity). When I get this warning no logic is executed for the process instance in "doUpdate" activity.
    How to solve it? Only one process instance created with Global Creation activity can be in one automatic activity? If there two process instances simultaneously in automatic activity, then one them won't be processed?
    Thank you in advance
    Regards
    Peter
    Edited by: Piotr85 on Apr 21, 2010 6:03 AM

    what does they means by service thing here,,,,and how do we specify it? or use it?
    Any application running in Oracle RAC clusterware is considered as a service. What is a service in the windows,its kinda same. If its a part of RAC and an application and running,its service.
    Read from here about services,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/mgmt_db.htm#sthref2266
    If you don't know RAC yet, better is to leave it.Its the core of RAC if you ask me.
    does resource_consumer_grp and Service name parameter in job class definition are mutual exclusive?or not
    Did you check in the docs for the same?
    HTH
    Aman....

  • Maximum life-span of process instance

    Hi
    Is there any maximum life-span (duration) limit for an in-process instance in Oracle BPM?
    In other words, does OBPM supoort very long running business processes (e.g. processes that run for over 4 years etc).
    Please note- I am talking about life span in-process instance, and not completed or aborted instances.
    A pointer to any release documentation section in this regards would be a great help.
    Thanks
    Hemant

    Hi Hemant,
    Work item instances can remain active inside a process for years. There is no documentation that I'm aware of that specifically states this, but it's the way it has worked for the last 10 years. Large insurance and financial institutions using the product today have to have this capability.
    Dan

  • How to check the performance of the database instance in oracle apps 11i

    hii everybody,
    i want to know,how to check the performance of the database instance using oracle applications 11i.your help highly appreciated,thanks.

    Pl do not post duplicates - how to check the performance of the server in oracle applications 11i

Maybe you are looking for

  • How do I reset/restore my late 2011 MBA to factory settings??

    Ok, so I love my MacBook Air that I got for christmas 2011. But the thing is, I have never been great about emails. TOO MUCH JUNK EMAIL!!! Also the whole photostream thing, is kinda overwhelming me because its SUPER hard to delete them off of iPhoto.

  • Scroll bar does not appear in some PDF files. How can I enable it?

    Scroll bar does not appear in some PDF files. How can I enable it?

  • Powerpoint audio

    I have spent a hudge amount of time creating powerpoint slides with voice narration attached directy to shapes(not the slides themselves) with and without animation. After importing into captivate, non of the audio narration plays even the shapes are

  • All I get on my screen is the apple after a perfect download

    I just received my second ipod nano 3rd gen. Also, I have a nano 2nd gen and a shuffle. I have no problem except for this 3rd gen nano. I had a perfect download waited till ipod fully charged then took it off charger and all I get on the screen is an

  • Delete time capsule backup

    hi, i am using maverics OSX. i have two machines backed up on a 2T time capsule. i need to delete one of the backup disk images to make space available for a newer macbook pro. i have tried moving the unneeded disk to trash but that doesnt work. ther