Passing attachements to sub-processes

I have a process that initiates a sub-process and pass the form data through successfully but the only problem is that I want to pass attachments also from one process (main) to another sub-process, which i have been trying for the past couple of days and unfortunately all my efforts went on vain.
Is there any body to save me on this one, PLS?

hi,
     You have mentioned that it is possible to access main process form variable to the subprocess.
I have a main process called M and a subprocess named S. At the end of the workflow of M i have added S using the Subprocess service.
How can i pass form avariables and process variables of M to S...?
pls help me on this ..
thanx
Balaji

Similar Messages

  • How to Pass Attachment from one process to other.

    Hi,
    Suppose there are two processes.I am starting 2nd process from 1st process through GP API.
    How to pass the attachments?
    Regards,
    Pratik

    Hi,
       I seems its GP related. Try out the link below hope u find the solution

  • How can I pass parameters from one process flow to another process flow?

    How can I pass parameters from one process flow to another process flow (sub process) in warehouse builder? let me know the steps I have to do in warehouse builder.
    Thanks in advance,
    Kishan

    Hi Kishan,
    Please post this question to the Warehouse Builder forum:
    Warehouse Builder
    Thanks, Mark

  • 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

  • Passing files into BPEL processes

    Hi,
    I was wondering if it is possible to pass files of different types (.doc, .jpg etc.) into a BPEL process. If so, are there any documentation and/or examples showing how to do this?
    Thanks

    in 2.0.11, the only way to pass files to BPEL processes is to use base64 encoding.
    we are looking at providing better support for binary attachment in the 10.1.3 Preview 1 release scheduled for March 05.
    Best,
    Edwin

  • Ttrigger Event Sub-Process from Java code.

    Hi All,
    Is there any way to trigger Event Sub-Process from Java code.
    My requirement is to trigger an Event SubProcess when a Approver clicks on REJECT button in HUMAN TASK.
    One way of achieving this is by placing a gateway after the human task and by validating the human task outcome and there by triggering a call to Event SubProcess.
    But we dont want to put a gateway after the human task. But instead we would like to trigger the Event SubProcess from the ADF task forms itself. ie, by calling a JavaCode.
    Please give me some pointers on achieving this task.
    Thanks
    Parker.

    Hi  jtahlborn, mohan
    yes the process is created from my java code. 
    in my code iam creating a process like below and if it is running for a long i need to kill it from java.
    For that " Runtime.getRuntime().exec("taskkill /F /PID " +  7408); " is working fine.
    7408 is my process id in taskmgr created from java and iam manually passing the PID it to kill it.
    But i need to get the PID from java code.
    Thanks for your suggestions.
    Sample Code:
    public static void main(String args[])
            try {
              Process process = Runtime.getRuntime().exec(new String[]{"cmd.exe","/c","start"});        
              Field f = process.getClass().getDeclaredField( "handle");
              f.setAccessible( true);         
              long procHandle = f.getLong( process);
              System.out.println( "prochandle: " + procHandle );
              //Runtime.getRuntime().exec("taskkill /F /PID " +  procHandle);
            } catch( Exception e) {
              e.printStackTrace();

  • 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

  • How to pass BindVariables to External Process (Workflow)

    I build a shell script (unix) which accepts a command line parameter .... a "filename"
    The "filename" is a dynamic name!
    The workflow is build with a custom input parameter "filename" ... which I want to pass to an external process, which calls this shell script:
    How can I do that ?
    ExtProcess:
    Command : Val=/bin/ksh
    Parameter_List : Val=":/home/bin/myscript.sh:${Task.Input}:"
    (Binding ":Filename" replaces the whole value, sorry)
    Succes_Threshold: Val=0
    Script : Val="" , Binding=":Filename"
    ... does not pass the value of ":Filename"
    Script : Val="/tmp/fixed.name"
    ... works only with fixed names
    what I really need is something simple like:
    Parameter_list : Val=":/home/bin/myscript.sh:${Parameter.Filename}:FIXPARAM:"
    or Script : Val=":${Parameter.Filename}:${Parameter.Param2}:${Parameter.Pram3}"
    ... similar problem I had with FTP, I found no way to pass dynamic filenames or other parameters (except LOCATION Parameters)
    ... similar problem I had with EMAIL I found no way to include PARAMETERS to the mail body (except to replace the whole body by 1 parameter)
    Is there a solution or is in current version OWB 9.2 only "static" parameters supported.
    I also was missing to pass OUTPUT-parameters for example of a TRANSFORMation,
    I also was missing some urgent SYSTEM-parameters for self identification of the process(like "SYSTEM.TASK_NAME" "SYSTEM.EXECUTION_AUDIT_ID" "SYSTEM.ITEM_KEY" )
    Thanks for all hints and best regards
    Martin

    Actually... After further investigation this may not be needed. I'd be interested in the answer, to understand what is possible.
    The concept of passing parameters in the OWB workflow designer is rather limited, in my humble opinion. Sure, you can designate a "start" sequence that takes a parameter and you can pass that to mappings/transformations but there is no chance for feedback. Ie, if I manually (or through some rigged script) execute the flow with the "PARAMETER" then it will be able to bind. What about mid-flow. IE, select the record to be "processed", then call a "flow" with that as a parameter.
    Am I mistaken? Is there a way to expose the "out" parameters of a mapping, or the return of a "transformation function" as "OUTS" in the process flow.
    Of course, in a world where everything is OWB and in the DB one can leave data in tables, and pick it up on the other mappings. HOWEVER, most BI systems involve external retrievals, etc. that need a bit more "intelligence" then "run and return 1,2,3" . :)
    Hope this is helpful for product feedback. If I'm mistaken on the WF capabilities please clue me in. :)
    btw, I'm an OWB fan, certainly. The progress over the past two years has been excellent.

  • 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

  • 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

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

  • 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

  • [解決事例]Photoshop CC 2014「Windows 8.1 64bit環境 スキャナーから読み込むには」

    [製品] Photoshop CC 2014 [環境] Windows 8.1 64bit [問い合わせ内容 (お客様の目的)] スキャナーから読み込みたい Canonに問い合わせたところ.Adobe側でプラグインがあるはずだといわれた. [対応内容] TWAINプラグインは64bitには対応しておりません. Photoshop CCもしくはCS6の32bit版の場合.TWAINプラグインをインストールすることが可能です. Creative Cloudデスクトップアプリケーションから以前のバージ

  • How to send HTML to a frame

    I want to know how to send and HTML page generated by a servlet into a specific frame of the client browser.

  • B85-G43 overclocking i5-4570K ?

    What is the situation with overclocking (by adjusting multiplier) "K"-line CPUs on B85-G43 ? Is it possible ? Does it depend on BIOS version or CPU's production date ? I want to buy B85-G43 with i3-4130 but change it in the future to some i5-4...K Th

  • EJB Serialization requirements??

    Hi, Sorry this is not a direct WebLogic scneraio but i would like to know if this scenario would work in WebLogic. I have a simple HelloWorldApplication which uses SSbs. I pass a Customer Object which has two attribute String name and Address address

  • Please help songs that were on my ipod not there

    So I was switching from manually update to automatic update and it said it would add all songs in existing library to ipod so I clicked yes. So it took all the songs that were from somebody else's library on their computer and erased them. Is there a