BPM API for interrupt process instance

Hi,
I have used the BPM API's to locate the process instance number that I need. How can I use this number to send a message interrupt to the process? (Has a boundary catch message)
Alex
Edited by: 931245 on May 15, 2012 10:24 AM

Hi,
Thanks for the reply. But my expectation is different. This is getting the component instance id without any argument, for the current instance. But I need to retrieve the Bpel instance based on some arguments, may be using the correlation id / composite sensor attributes / flex fields attributes...

Similar Messages

  • How to look for duplicate process instances?

    In Oracle BPM 11g, is there a good way to look for duplicate process instances based on process data attributes? For example, I have entered an instance of a process for 'John Smith' with a date of '4/1/2010' and I want to see if there is another instance in the same process with these same data values to evaluate as a potential duplicate. I believe we can write a java service to invoke the API to do this, but I am wondering if there is a better way within the process design to do this (XPath extension functions or soemthing?). It seems like this would be a common need.

    I am really looking for an approach to looking for duplicate instances within my process flow, not from EM. So, if the user starts a new instance of a process, I can check for another instance that appears to be a duplicate and direct the flow to a human activity to review the potential duplicate and make a decision as to whether to continue processing the new instance or reject it. My guess is that we need to us a service task to invoke java code which uses the API to investigate other instances with the same values. But, I was hoping for a simpler solution....I have to think that this is not too uncommon.

  • Security Settings For Deleting Process Instance Information

    Hi there,
    We are currently having issues with our more "novice" users deleting "unsuccessful" or "error" process instances. Are their any security settings we could use for this type of user profile that would not allow them to delet these instances?
    This is in PS Financials V8.9
    Thanks, Dan
    Edited by: user6340243 on 5-Mar-2009 9:58 AM

    Hi Dan,
    Yes you can do that. The process file associated with the Userid is not having Permission to alter process request.
    Identify the Process Profile permission list:
    Navigation: PeopleTools > Security > User Profile
    Make changes to the Process profile permission list:
    Navigation: PeopleTools > Security > Permission Lists
    Select the appropriate process profile permission list.
    Go to 'Process' Tab. Click on 'Process Profile Permissions' hyper link. Under 'Allow process request' section should be changed to Owner or none based on your requierment.
    Hope this helps.
    Regards,
    Pratheepan

  • How to access Task details using BPM API for substituting user

    Hi Expert,
    I need one help, we have a requirement, in which I wanted to access the BPM task details of a user which is substituting user using BPM API.
    Substituting user's name is not exist in Potential owner of Task. That’s why Using method "getMyTaskAbstracts(Status)" we cant acess those task which assigned by Substited user.
    Kindly let me know if there is any way, we can get task details of the task which assigned by substituted user to substituting user.
    Regards
    Div

    Pl use this api.
    getTaskAbstractsForMySubstitutedUsers.There are couple of variations u can use.
    Thanks
    Manish

  • Can schema validation be activated for a process instance?

    Is there some configuration property that can be added to the bpel.xml that will turn on schema validation for a single process (as opposed to turning this on for the entire engine)?
    Cheers,
    -Dustin

    Hi Dustin ,
    You can also use the same property in bpel deployment descriptor's partnerLinkBinding, to enable/disable xml validation for a particular partner. "validateXML" property in bpel dd will override the domain.xml's "validateXML" property.
    For example in LoanFlow/bpel.xml, enable validation for only StarLoanService partner:
    <partnerLinkBinding name="StarLoanService">
    <property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl
    </property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>
    HTH.
    Thanks,
    Rakesh

  • API for Batch processing

    Is there an API in FDMEE to determine if an Event like AftLoad is being executed in Batch?

    Hi
    In FDMEE you can use custom scripts to be executed Before and After batch is processed.
    To get that determination from Event Script you would have to build your own code to check if the LOADID is in  AIF_BATCH_LOAD_AUDIT.
    What are you trying to achieve?

  • API to load Process Instruction for Recipes

    Hi All,
    We are in R12. We are implementing OPM. In that I could able to get the API to load the Recipe header and details. But I am not able to get the API for loading Process Instructions to the recipes.
    Please let me know, if there are any API available to load the 'Process Instruction' for the recipes.
    Thanks,
    Gowri

    Shalantha,
    I did come across that note and tried loading a single row. I saw that it did insert the row into per_images table, but when I went into the front-end, the image does not display for the employee. There was no error, it's just blank in the Picture screen.What is the image format? There are couple of reported bugs/issues with loading images (Search Metalink for PERWSIMG image), and review the notes.
    Note: 398926.1 - Cannot Load Images in Oracle HRMS
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=398926.1
    Note: 462967.1 - Upload Image Over 32k Into PER_IMAGES From FND_LOBS as Blobs
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=462967.1
    Also, is SQL Loading directly into per_images supported by Oracle?Yes, it is. Otherwise you would not see this suggested as per the note referenced in my previous reply.

  • Integrate BPM API

    Hi,
    Just a quick question. In relation to using the BPM API's for locating process instances through composite sensors, how do I integrate the code I am writing into my BPEL project?
    I expect it is quite simple, but I am new to this.
    Thanks in advance,
    Alex

    Hi,
    Just a quick question. In relation to using the BPM API's for locating process instances through composite sensors, how do I integrate the code I am writing into my BPEL project?
    I expect it is quite simple, but I am new to this.
    Thanks in advance,
    Alex

  • Getting Process instance with key '0' does not exist.

    I am doing a request based provisioning task.When I request for a resource the approvers are able to approve the request but the user is not created.
    I am getting the below exception at the backend:-
    [XELLERATE.APIS],Class/Method: tcProvisioningOperationsBean/getProcessDetailData encounter some problems: Process instance with key '0' does not exist.
    [11/2/12 0:30:13:640 EDT] 00000097 SystemOut O ERROR,02 Nov 2012 00:30:13,639,[XELLERATE.WEBAPP],Class/Method: RequestApprovalDetailAction/requestDetail encounter some problems: Process instance with key '0' does not exist.
    Thor.API.Exceptions.tcAPIException: Process instance with key '0' does not exist.
         at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.getProcessDetailData(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.getProcessDetail(Unknown Source)
         at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.getProcessDetail(Unknown Source)
         at com.thortech.xl.ejb.interfaces.EJSRemoteStatelesstcProvisioningOperations_6b2f800a.getProcessDetail(Unknown Source)
         at com.thortech.xl.ejb.interfaces._tcProvisioningOperations_Stub.getProcessDetail(Unknown Source)
         at Thor.API.Operations.tcProvisioningOperationsClient.getProcessDetail(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:337)
         at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)
         at Thor.API.Security.LoginHandler.websphereLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy6.getProcessDetail(Unknown Source)
         at com.thortech.xl.webclient.actions.RequestApprovalDetailAction.setStandardApprovalDetail(Unknown Source)
         at com.thortech.xl.webclient.actions.RequestApprovalDetailAction.requestDetail(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor665.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         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 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:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1096)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1037)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:566)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)

    Process instance with key '0' does not exist
    Such issue typically appears when the Provisioning is initiated without "Auto Save" i.e. before ORC_KEY entry goes in the OIU table...
    Second possibility can be that the mandatory attributes in the process form are not populated..
    Third possibility can be that the Status is Waiting... And Resource is dependent on another Resource...
    Are you able to Direct Provision the account? I mean without raising Request Based provisioning?
    Please give us following details:
    (1) Resource Profile:-status of Auto Save
    (2) Approval Process:- status of Auto Save and Auto Pre-Pop
    (3) Prov Process:-status of Auto Save and Auto Pre-Pop.
    (4) Is the object form properly populated?
    (5) Is the Process form properly populated?
    (6) Any Exception occurred during Approval process?
    (6) In the OIM Database, fire the following query:-
    SELECT OIU.ORC_KEY
    FROM OIU, USR, OBI
    WHERE OIU.USR_KEY=USR.USR_KEY
    AND UPPER(USR.USR_LOGIN)=UPPER('ABCDEFGH_USER')
    AND OBI.OBI_KEY=OIU.OBI_KEY
    AND OBI.OBI_KEY IN (SELECT OBI.OBI_KEY FROM OBI,OBJ WHERE OBI.OBJ_KEY=OBJ.OBJ_KEY AND
    UPPER(OBJ.OBJ_NAME)=UPPER('AD USER'))
    This will show whether any proper ORC_KEY was generated for this resource instance..

  • Process instances stop at timer event

    Hi,
    I modelled a process with intermediate timer event. When this timer expires an automatic activity is invoked which checks certain conditions. If these conditions are not met the process token returns to the timer until the conditions are met and another process path is entered. I observed quite a lot of process instances which stoped at this timer event, meaning: the timer doesn't expire any more and the entire process instance stands still. The reason for this seems to be:
    - database filled up (ok, this shouldn't happen. I accept that this has severe consequences)
    - restart of application or netweaver
    - running process archiving run
    Is there a way to reactivate these process instances other than aborting the current instance and starting a new one?
    Timer events use GalaxyTimerJob. I assume an appropriate database entry failed. Can I add this missing table entry by executing SQL commands or isn't it as easy as that?
    Thanks
    Regards
    Anja

    Hi Nick,
    yes, suspending and resuming doesn't change anything. 'Instance restart': you mean restarting NetWeaver? In fact, it seems to me, that fixes the problem for some process instances, but too many stay in their "corrupt" status.
    Can I execute some SQL statements to add this GalaxyTimerJob database entry? Even if there are such statements, would it be too critical as the various process instances might be in different states and the execution of such statements might rather brake than fix things?
    Regards
    Anja

  • Completed Process instance - History of Context data

    Hi,
    I've a completed process instance. I'm able to look for that process instance at "Manage Process" -> ....... -> "Advance Search".
    My question is, how can i view the history of the context data for each of the tasks of the completed process instance. When i select the the process instance and click "Show Tasks" button, i couldnt see any task instance ID for that completed process instance.
    Any idea?
    Any help would be much appreciated.
    Thanks.
    - julius

    Hi David,
    Thanks for the reply.
    I'm interested at the context data/input/output parameters of all the tasks in a completed process instance, for debugging/administration purpose.
    completed tasks cannot be returned to the NWA even though they are partly available in the system.
    Can you explain more about "partly available in the system" ?
    Thanks,
    - julius

  • Error "Could not retrieve process instance" w UWL-GP thru Load Balancer

    Hi,
    We're using NW'04s EP SP14 for developing our portal website. An external load balancer balances the load between two portal instances CI & DI.
    We are getting an Exception "Could not retrieve process instance: contact your system administrator" when we try to access the UWL Requests through the Load Balancer though it is working fine with the direct HostName in the URL.
    SAP Note 1026119 did not solve the issue.
    Has anyone faced such an issue before?
    Thanks.

    Hi
    I am getting the same error, but when i tried to retrieve the process instance from nwa I see the process instance to be missing. I could not trace the process instance.
    Can you please tell me where else can i look for the process instance.
    Its very urgent
    Thanks and Regards
    Anitha

  • 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....

  • Searching Multiple Process instances

    Guys,
    is it possible to search for multiple process instances with a singly search query.
    I need to search for all instances for process TestProcess1 & TestProcess2. Can i avoid calling the connectTo method twice.
    pName = /TestProcess1
    connectTo bp
    using url = Fuego.Server.directoryURL,
    user = user_name,
    password = password,
    process = pName

    Try this logic to hit the ProcessService component if you want to hit multiple processes. Included in this are two different techniques (see "loop 1" and "loop 2") for its use.
    Note the "finally" ("on exit") logic at the bottom to disconnect. Don't forget to do this when using ProcessService.
    do
      connectTo ProcessService
          using url = Fuego.Server.directoryURL,
          user = "test",
          password = "test"
      inboxViewId as String = "unified_inbox"
      inbox as Fuego.Papi.Instance[]
      inbox = getInstancesByView(ProcessService, viewId : inboxViewId)
      // loop #1
      for each instance in inbox do
        logMessage "Here's an instance found in the inbox: " + instance.id
      end
      instF as InstanceFilter
      create(instF, processService : ProcessService)
      addAttributeTo(instF, variable : "customerType", comparator : IS, value : "Gold")
      instF.searchScope = SearchScope(participantScope : ParticipantScope.ALL, statusScope : StatusScope.ONLY_INPROCESS)
      // loop #2
      for each inst in getInstancesByFilter(ProcessService, filter : instF) do
        instanceVarValue2 as Object = getVar(inst, var : "orderAmount")
        logMessage "amount is: " + Decimal(instanceVarValue2);
      end
    on exit
      disconnectFrom ProcessService
    endDan

  • INTERRUPT process types authorization in process chain

    Hi all ,
    I include INTERRUPT step in one of my process chains but I'm not able to change it on live system because of unsufficient authorization .  We have sufficient authorization just for START variant on process chains on production system however we also need to have schedule authorization for INTERRUPT process since I need to schedule it several times in live system. Does anyone know about the process to gather required authorization
    Thanks in advance ...

    .

Maybe you are looking for

  • Adding Components to a JPanel not working correctly

    I'm trying to build a JFrame that contains a parent JPanel that will hold a JPanel used to display a message view, a vertical strut and a JPanel that holds VCR-like buttons to cycle through the messages. My parent JPanel uses a BorderLayout and the B

  • Services running in time out and portal stays in starting application

    Hi Group, when starting the portal (sp12 on windows) the status is running into "starting applications" and don't change to running. In the server logfile I found: Timed out services: Service ssl. Service tc.monitoring.logviewer. Service keystore. Se

  • Fail to set vlan in driver [F1ControlPlane::cmgrSscGetVlan]

    Hi, I've a problem with a IPS module SSM-10 installed on a ASA5510 in Transparent mode, on the event viewer of IPS module i find this Error: errorMessage: Error - Fail to set vlan in driver [F1ControlPlane::cmgrSscGetVlan]  name=errUnclassified someb

  • Virus related to Unzipping files

    I have a weird problem: Zipped files will not decompress with the BOMArchiveHelper (double clinking on them) but when I use Stuffit expander 2009, the files decompress into some PBeM game called "Big Bang 4-In-A-Row" From Freeverse Software, by Ian L

  • Palm TX Error Message

    Can anyone advise what the problem may be when an error message stating the following keeps appearing on screen prior to performing a hot sync: "Error (Sys 0505) (0, 841)? This started happening recently after I attempted to download a program to acc