Sub Processes -- BPM

Hi,
    I have designed a Process havins  a sub process and a human Activity , the output of the subprocess will be displayed in the human activity. the subprocess has a human activity and a automated activity .the automated activity returns a string which needs to be passed out of the sub process .
I have assigned a corresponding process to the sub process., but still i could not get any output from the sub process. the end process event is assigned to default service in the subprocess.the output from the subprocess is always the empty response.
Also i could not expand the subprocess in the main process.
How can i acheive communication between main process and sub process.
Thanks and Regards
Fazal

hi,
    I have changed the  service for the event end in the sub process from default service to some other service which will get the input the automated activity and gives the response .
now i am able to get the Output response for the sub process in the main process , but when i try to deploy , i am getting deployment exception
full trace of the exception :
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [demo.sap.com_submission_process].
; nested exception is:
     com.sap.engine.services.dc.gd.DeliveryException: <Localization failed: ResourceBundle='com.sap.engine.services.dc.util.exception.resources.ResourceBundle', ID='dc_1207', Arguments: ['demo.sap.com_submission_process']> : Can't find bundle for base name com.sap.engine.services.dc.util.exception.resources.ResourceBundle, locale en
     at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:715)
     at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:226)
     at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:112)
     at com.sap.ide.tools.services.dc.EngineDcDeployService.deployFiles(EngineDcDeployService.java:251)
     at com.sap.ide.tools.services.dc.EngineDcDeployService.deploy(EngineDcDeployService.java:125)
     at com.sap.ide.dii05.ui.internal.actions.dc.DcDeployAction$3.run(DcDeployAction.java:224)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [demo.sap.com_submission_process].
; nested exception is:
     com.sap.engine.services.dc.gd.DeliveryException: <Localization failed: ResourceBundle='com.sap.engine.services.dc.util.exception.resources.ResourceBundle', ID='dc_1207', Arguments: ['demo.sap.com_submission_process']> : Can't find bundle for base name com.sap.engine.services.dc.util.exception.resources.ResourceBundle, locale en
     at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:188)
     at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
     at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
     at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
     at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
     at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
     at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
     at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Caused by: com.sap.engine.services.dc.gd.DeliveryException: <Localization failed: ResourceBundle='com.sap.engine.services.dc.util.exception.resources.ResourceBundle', ID='dc_1207', Arguments: ['demo.sap.com_submission_process']> : Can't find bundle for base name com.sap.engine.services.dc.util.exception.resources.ResourceBundle, locale en
     at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:118)
     at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
     at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
     at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
     ... 7 more
Caused by: com.sap.engine.services.deploy.server.utils.DSRemoteException: [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
     com.sap.engine.services.deploy.container.DeploymentException:
     at com.sap.engine.services.deploy.server.DeployServiceImpl.catchDeploymentExceptionWithDSRem(DeployServiceImpl.java:4714)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:325)
     at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)
     ... 10 more
Caused by: com.sap.engine.services.deploy.container.DeploymentException:
     at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.deploy(WebServicesDeployManager.java:269)
     at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)
     at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2536)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:378)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:323)
     ... 11 more
Caused by: java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Exception occured during web services deployment. Unable to extract web services deployment data for archive demo.sap.com~_submission_process.wsar, application demo.sap.com/submission_process.
     at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:293)
     at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:254)
     at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.init(WSDeployProcess.java:149)
     at com.sap.engine.services.webservices.server.deploy.WSBaseAbstractDProcess.makeProcess(WSBaseAbstractDProcess.java:308)
     at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.deployWebServices(WebServicesDeployManager.java:1092)
     at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.deploy(WebServicesDeployManager.java:257)
     at com.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)
     at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2536)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:378)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:323)
     at com.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)
     at com.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
     at com.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
     at com.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
     at com.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
     at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
     at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
     at com.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
     at com.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
     at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
     at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. The passed WSDL is not supported by the proxy generator. It does not contain any WSDL bindings. 
     at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.initInterfaceMappings(ProxyGeneratorNew.java:994)
     at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:425)
     at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptor(WSAltConvertor.java:208)
     at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertServiceAltDescriptors(WSAltConvertor.java:182)
     at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convertWebServicesJ2EEEngineAltDescriptors(WSAltConvertor.java:162)
     at com.sap.engine.services.webservices.server.deploy.ws.WSAltConvertor.convert(WSAltConvertor.java:111)
     at com.sap.engine.services.webservices.server.deploy.ws.WSDeployProcess.extractWebServicesJ2EEEngineDescriptors(WSDeployProcess.java:276)
     ... 25 more
     at com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException.writeReplace(WSDeploymentException.java:60)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1004)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1036)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
     at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391)
     at com.sap.exception.BaseExceptionInfo.writeObject(BaseExceptionInfo.java:1033)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
     at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:391)
     at com.sap.exception.BaseExceptionInfo.writeObject(BaseExceptionInfo.java:1033)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
     at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:135)
     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:358)
     at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
     at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)
     at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)
     at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:977)
     at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)
     at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
     ... 2 more
Please help on this
Thanks and Regards
Edited by: Fazal Ahamed on Dec 17, 2008 3:22 PM

Similar Messages

  • BPM 11g Workspace Audit Trail not showing Sub process inner activities

    Hi all,
    I have been developing some BPM Process in JDev 11.1.1.5 and have deployed them in BPM Suite 11.1.1.5 over Windows Server 2003. I've found the following and would like to hear your opinion:
    1- The Process audit trail in BPM 11g Workspace shows the activities of the process but the Sub-Process call activity appears as just a single activity and you can not see the inner activities of the sub-process... making impossible to track the sub-process.
    2- In the EM Instance trail you can track the subprocess activities, but they appear wrong; diffrent names, diferente types (ex: interactive activity shown as service call)..etc..
    Are these known issues? is this the expected behaviour? Is it just some configuration I missed?
    Thanks for your time.

    For anyone with the same question, I got this from Oracle support about both questions:
    1- I checked with our Engineering team and regarding the expanding of the subprocess activity , it is planned to be released in 12g. So right now , it is a work in progress feature being addressed by our developers.
    2- Thanks a lot. I have reported a bug 12909848 to our Engineering team. You can track the status of the bug from the SR.

  • Calling BPM Sub Process from another BPM Process - Stuck at Sub Process

    Hi
    JDeveloper 11.1.1.6, BPM 11.1.1.6, WLS 10.3.6
    I am trying to Call a BPM Process from another BPM Process. Both the processes are defined in the same BPM Project.
    Both the Processes have 'None' Start and End activities.
    The 'Parent Process' has a 'Call Activity' which calls the 'Sub Process'.
    The Sub process takes a parameter of payload object as input and returns output (also same payload object)
    I have passed the payload object from parent to sub process in the 'Data Associations'.
    The Start and End activities in the sub process also have the data associations set where I am passing the payload object from parent process to child process.
    When I run the process and see the Enterprise Manager console - Audit Trail / Flow tabs,
    Flow Tab - The progress of the process is showing only till the Calling of the sub process in the Parent Process. It does not show the Sub Process.
    Audit Trail Tab - Shows that the Sub Process is called but has not reached to the End of the Sub process.
    The audit trail does not have links to the sub process activities.
    I cannot see any exceptions as well in the audit trail.
    How can I find out why the process is stuck? Or what is going on in the process?
    Please let me know if my explanation is not clear?
    Thanks for any help
    Regards
    Sameer

    Thanks for replying.
    I have another Sub Process with Start and End events as Message Events and used Send Task and Receive Task (Implementation : Process Call) in the Main process to invoke the sub process asynchronously.
    Then, the Sub Process is shown in the 'Flow Trace' as child of the main process.
    In this particular one, I used 'Call Activity' to call the sub process.
    So the Audit trail is showing the sub process as a child.
    But what I was trying to say is that the audit trail did not have links to the entries in the 'Event' column (in Enterprice manager - instance window). (like Instance entered activity, Instance left activity etc).
    I was intending to use these links to see the payload information and try to debug if there is any problem with the code.
    The actual problem I was trying to say in the post is that, even after the user responds to the activity (User Task - Approval) in the Sub process,
    the audit trail is not proceeding further.
    In the Sub process definition, after the user task, there is End with none implementation.
    Hope it is clear now.
    Thanks and Regards
    Sameer

  • Use of BPM Sub-Process

    Hello Experts,
    I'm beginner and I wanna know when we will go for BPM sub process.
    I know there are two types of process(embedded and reference), but I wanna know when we will go for embedded sub process and for reference sub process.
    If possible please share some examples for both the process.
    Thanks in advance.
    Regards,
    Sriram

    You can use embedded sub-process in BPM when the child process (sub-process) is dependent on the parent process. By this it means that the sub-process cannot execute by itself.
    An embedded sub-process cannot have start and end events, although it can have other sub-set of events like timer, escalation and boundary events.
    You can use a referenced sub-process when you want to re-use an existing process. A referenced process is an independent process, which can exist of its own. If you want to use that existing process in your BPM Process then you can call it using referenced sub-process. Also make note that your main process will wait till the referenced sub-process completes its flow.
    Also if you feel that some process can be re-used by others then you can make it as a separate process and use it in the main process using referenced sub-process. This way others can also re-use the sub-process.

  • BPMN 2.0 transaction sub-process support

    The BPMN 2.0 spec defines a Transaction Sub-process as follows:
    A Transaction is a specialized type of Sub-Process that will have a special behavior that is controlled through a
    transaction protocol (such as WS-Transaction). The boundary of the Sub-Process will be double-lined to indicate that it
    is a Transaction (see Figure 10.33). - page 178
    I cannot see how to model this activity in BPM Studio (11.1.1.7).  There doesn't appear to be the double-lined sub process activity available in the component panel.
    Are transaction sub-processes supported in Oracle BPM Suite?

    The BPMN 2.0 spec defines a Transaction Sub-process as follows:
    A Transaction is a specialized type of Sub-Process that will have a special behavior that is controlled through a
    transaction protocol (such as WS-Transaction). The boundary of the Sub-Process will be double-lined to indicate that it
    is a Transaction (see Figure 10.33). - page 178
    I cannot see how to model this activity in BPM Studio (11.1.1.7).  There doesn't appear to be the double-lined sub process activity available in the component panel.
    Are transaction sub-processes supported in Oracle BPM Suite?

  • Sub-Process Main Process Web-Service

    Hi,
    I have a main Process and a sub-process inside this main process.
    I have a Wait activity inside this sub-process, which waits for an external call from another system to call my Web-Service at this Wait activity. This Web-Service is built as Process As a Web-Service Call.
    But I fail to get any information back from this Wait Activity which keeps waiting for the call from the external system which calls my Web-Service at this Wait Activity.
    But the external system is calling my Web-Service and it gets a error notification from BPM..
    Why is that so?
    Is it because its a sub-process inside a main process or something else?

    Did you use PAPI code inside your web service or did u just use PAPI Web Services ( like did u just pressed the button Launch PAPI Web Services ) and it created the WSDL for you and u used it to create the client?
    I am using the latest version of OBPM..
    Oracle 10.3.10
    Can you let me know what do u mean by PAPI interface.. Is it the PAPI code of is the PAPI Web Service which is built by BPM automatically and could be used?
    Edited by: user8707382 on Sep 10, 2009 9:00 AM

  • Call Referenced sub-process by propagated user

    Hello, gurus!
    Today a caught new problem.
    I try to call referenced sub-process from another BPM-process. I have enabled principal propagation in both processes. After that I call head process by predefined user (in example "TestUser"), but unfortunately internal referenced sub-process was called by "SAP_BPM_Service" user.
    Does anyone knows if I have any way to call referenced sub-process by predefined "TestUser" too?
    Thanks for your answers.
    Regards, Sergey.

    I try to call head process by "TestUser" which should be propagated to referenced sub-process, but in process management perspective in nwa I can see that sub-process was started by "SAP_BPM_Service" user. Do you know what I should do to fix that problem?
    Thanks for your reply!

  • Sub process

    Hi,
    I would like to know if there is a way to call a subprocess or a different process from global interactive activity. The requirement is. once the subprocess is called, the user should not be able to execute the parent instance. Only when the instance returns from the sub process, the user should be able to proceed. Please suggest.
    Thanks in advance

    Hi,
    Since the Global Interactive has instance access there'd be a lot of moving parts. I apologize in advance - I have completely obsessed over this.
    I put a project out on http://www.4shared.com/file/117294058/7685a219/InvokeSubProcessFromGlobalInteractive.html that you could download and import to Oracle BPM 10g to see what you think.
    I obsessed over this a little too much (ok - way too much), but it was an interesting challenge. If you're not comfortable with this, it's completely my fault that I've made it seem too difficult. Not that hard, but it takes a knowledge of Message Wait activities, creating Correlations, sending notifications and creating instances in another process using logic (ok - maybe you should try to talk the customer out of going this route and lean them towards a simple SubFlow activity).
    Here's what I did to get this to work if you're curious. If your Global Interactive activity has instance access, you could have checkbox in the UI that is presented when you invoke the Global Interactive. The checkbox would be tied to a Boolean attribute in the instance's BPM Object. I'm calling this attribute "spawnSubprocessAndLockParent" in this scenario. This will act as a flag to tell the Global Interactive to spawn a subprocess and to lock the parent instance if checked.
    Here are the steps I did:
    In the parent process:
    1) created a correlation as the first activity in the process and terminated the correlation in the last activity in the process
    2) added the Boolean "spawnSubprocessAndLockParent" attribute to my instance's BPM Object
    3) created a presentation with this attribute
    4) added this presentation to the Global Interactive's screenflow
    5) inside the same screenflow, if the user checks the checkbox it goes to a new Automatic task in the screenflow that uses logic to create an instance in the child process.
    6) changed the screenflow for the parent process's activity to detect if the "spawnSubprocessAndLockParent" Boolean variable is true when it enters the Screenflow. If it is false, end users can edit the normal UI presentations and submit in the normal way it does now. If it is true, however, end users can only bring up read only UI presentations and have them exit the Screenflow via an Automatic task that has the logic "action = CANCEL".
    7) in the parent process, added a Message Wait activity that has no transitions coming into it or going out of it. Its "Runtime" property setting for "Waits for" need to be set to set to "External" and the "Allows interruptions" property needs to be checked.
    8) in the parent process, added an Automatic activity with just this one line of logic: "action = SKIP"
    9) added an unconditional transition from the Message Wait activity to the Automatic activity added in step 8
    In the spawned child subprocess:
    10) in the subprocess spawned in step 5, just before it reaches the End activity add an automatic activity that sends a notification to the parent process's Message Wait activity.
    Hope this helps - again sorry for obsessing,
    Dan

  • Can we define a function in a sub process?

    Hi ,
    I want to know whether we can define a function in a sub-process ? coz I see only notifications defined in the sub_process in seeded oracle workflows .
    also highlight if we are the running the workflow from developer studio do we need call the main process first or the sub-process first ?
    Regards,
    Shashk

    Hello Shashk,
    Yes functions can be used in sub-processes. If you are creating a custom function, it must be defined in a specific fashion to work with WF. See the Workflow Developer Guide for your version. 2.6.2 available here:
    [http://download.oracle.com/docs/cd/B10501_01/workflow.920/a95265/toc.htm|http://download.oracle.com/docs/cd/B10501_01/workflow.920/a95265/toc.htm]
    Not sure about Developer Studio per se but typically you can run any process in a workflow that is marked 'runnable'.
    - James

  • Alerts in Integration Process (BPM)?

    We are just beginning to use Alerts in PI 7.1.  If an error occurs in an integration process (BPM), will it trigger an alert if the Alert Rule is defined wide open?  Or do you actually have to trigger the alert in the integration process with an additionl step to trigger the alert?

    The Alert has to be defined in ALRTCATDEF.....no matter where the alert comes from (IE, AE, BPE)
    If an error occurs in BPM and you have not mainatined proper exception handling for it then....and if the processing shows in red in SXMB_MONI then the alert will be raised as IE alert
    However if you have implemented exception handling for a step and then in that exception branch you raise an alert then your BPM will raise alert....the subject of your alert email will be Process <ProcessID>
    BPM related alert can be either with static text (using Alert Container Variables) or Dynamic text (using some value from payload)
    Please note that to raise an alert from BPM it is not compulsory to only raise it as a Dynamic Alert......static alert can also be raised.
    The documents which are available for lower releases are still applicable in alert creation.....so existing blogs/ docs should work
    Regards,
    Abhishek.

  • Error in 'eMail Response - Process Message' --- Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(

    Hi,
    When I was simulating the 'eMail Response - Process Message', I had been getting the below error when entering to 'Create activity Process' step.(provided all the inputs per testmode.xml file)
    Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(SBL-BPR-00183)
    I increased the log level to 5 and got the below message in log file
    ObjMgrBusServiceLog    InvokeMethod    4    0000000251b51f04:0    2013-06-10 01:30:12    Begin: Business Service 'XML Hierarchy Converter' invoke method: 'DocToHier' at 12cc4240
    ObjMgrBusServiceLog    Error    1    0000000251b51f04:0    2013-06-10 01:30:12    (xmlcnvsv.cpp (548)) SBL-EAI-00246: XML Hierarchy Converter error - empty input message, expecting an XML document in <Value> of input arguments
    I was wondering I could not find 'XML Hierarchy Converter' business service in 'eMail Response - Process Message' and 'eMail Response - Create Activity' sub process.
    Can any body help me out in this regard.
    Thanks in advance..
    Jagadeesh

    Hi Naresh,
    yes, I am using the delete polling strategy. Here is the .jca file:
    <adapter-config name="Pozadavky" adapter="Database Adapter" wsdlLocation="Pozadavky.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/PozadavkyConn" UIConnectionName="PozadavkyConn" adapterRef=""/>
    <endpoint-activation portType="Pozadavky_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="Pozadavky.Pozadavky"/>
    <property name="QueryName" value="PozadavkySelect"/>
    <property name="MappingsMetaDataURL" value="Pozadavky-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="120"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>

  • Unable to start from sub process

    The scenario of our application is :
    We have multiple processes,each again having multiple activities inside them.
    There is one main processes and the others are all sub processes.
    The main process looks something like below :
    Start->Sub-process1->Sub-Process2->Sub-Process3->Sub-Process4->Sub-Process5->End
    My requirement is to start the main process from Sub-Process2,rather than the usual way of instantiating the main process.
    I tried configuring Sub-Process2 as an alternative Start (in the Work Flow Builder),but that doesnt seem to be working.
    I am using Java APIs to interact with Oracle Work Flow.
    Any ideas ??
    Amit.

    One possibility is to call WF_ENGINE.CompleteActivity() if you need to start a process with an activity node that is mid-stream in a process thread and not at the beginning of a process thread. The activity node you specify as the beginning of the process must be set to 'Start' in the Node tab of its property page.
    http://download-west.oracle.com/docs/cd/B10501_01/workflow.920/a95265/wfapi42.htm#comact

  • Getting the sub Process instance id through PAPI

    Hi Can anyone suggest me how to get the sub process instance id using PAPI?

    I was only able to figure this out as follows... If you have an InstanceInfo variable (called "instance"), then:
    InstanceEvent[] events = new fuego.papi.InstanceEvent[0];
    events = session.getInstanceEvents(instance.getId());
    for (InstanceEvent event : events) {
    if (event.type == 14) {
    System.out.println("child instance ID is: " + event.eventData);
    I ended up creating a recursive function that would drill down to get sub-sub-...-sub-instance IDs as necessary.
    Todd

  • Killing a sub process from it's parent process

    does any one know if ther's a way of killing a sub process from it's parent process?

    There are a few ways to do this depending on how the subprocess was invoked and if you are inside the parent work item instance or if you are using PAPI.
    If you are not using PAPI, here's how you could abort the child work item instances spawned by a parent process's work item instance.
    Asynchronously Spawned Children
    If a child process was invoked using an asynchronous Process Creation activity, the work item instance in the parent has a predefined hash table variable called "children". Downstream of the parent's Process Creation activity (called "SpawnChildren" in the PBL logic below), you can get the child's instance id using the children hash table and use this to send a notification to a Message Wait activty in the spawned child process instance using logic like this:
    send Notification
            using instanceId = children["SpawnChildren"],
                  activityName = "TerminateChild",
                  parameters = nullThe Message Wait activity needs to have its "Allows Interrupt" property checked in the child process. As you add this Message Wait activity (called "terminateChild" in the example above) make it an orphan with no transitions in or out initially. Once notified by the parent process, it still needs to be aborted so add a new Automatic activity in the child with this logic:
    action = ABORTFinally, add a transition from the Message Wait activity in the child subprocess to the Automatic activity.
    Synchronously Spawned Children
    If all you know is the parent work item instance's id and the child subprocess was invoked using a synchronous SubFlow activity, you could send a notification to a Message Wait activity that has it's "Allows Interrupt" property checked in the parent. If the Message Wait activity flows to an Automatic activity, you could use logic like this to kill the child subprocess work item instances synchrously spawned by the parent:
    for each ch in ProcessInstance.children do
        send Notification
            using instanceId = ch,
                  activityName = "TerminateChild",
                  parameters = null
    end
    action = SKIPSince the parent's instance was stuck in the Subflow activity, you'd need to send a notification to the parent's Message Wait activity in the parent process.

  • AR process and Sub process documentation

    Hi,
    I am working on AR process and sub process …Can any one please mail me the   documentation / links on
    AR high-level process &and AR sub process like….
    Manual invoicing (where there is no SD invoice)
    Direct debit Process,
    Automatic matching of Incoming payments,
    Remittance advice/ payment advice,
    Debit Not process & credit note process
    Electronic Bank Statements
    User exits (on payment advice)
    Credit managment process
    Points will be awarded accordingly
    MY mail id is [email protected]
    Thanks
    Sireesha

    I would suggest reading the pdf files from Siemens.
    you can also find some files in www.easymarketplace.de
    but the best thing to do would be to practise a lot in a test system and get the overview from people who worked in AR for atleast 6 months....
    the pdf files, though they are comprehensive are very intricate and never explain the entire business scenario in simple words..

Maybe you are looking for

  • Pages does not find my printer

    I can print from my iPad using Print n Share for all documents except those created in Pages, so I know my printer is configured correctly. However, when I try to print a document from Pages it  says no printer found.    As it is now I have to email

  • How can I delete Firefox to get rid of the password safe?

    I started "Use master password" and entered a password, which was accepted. But the one I wrote down is NOT accepted. How can I #1 close Firefox and start it OR #2 can I get round this block any other way, # 3 OR do I just stop using Firefox and Thun

  • Add-on error

    Hi. When sap bo 2004 tries to load my add-on, it shows the error: " Run-time error '429' -ActiveX component can't create object " I think that it's because in the vb6 project I've added a reference to Microsoft XML v5.0, to manipulate .xml archieves.

  • How do I prevent tab focus from changing when I scroll tabs with the mouse wheel? [SOLVED]

    Whenever I scroll my tabs with the mouse scroll wheel the tab focus changes from the page I'm currently on to the tab being scrolled to. I usually have a large list of tabs open and I depend on being able to scroll tabs without changing page focus to

  • Posting date/period 31.12.2014/009 is earlier than existing date/period 17.01.2015/010

    Hi Experts While posting of invoice document (T.Code MIRO) I got the below error message; Posting date/period 31.12.2014/009 is earlier than existing date/period 17.01.2015/010 Message no. FI_E050 Diagnosis Commitment postings to Funds Management req