IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  Dynamic Referenced Process

    Posted Tue September 23, 2014 11:29 AM

    Can someone help me understand how to use Dynamic Referenced Processes?

    I have created a main process (RTI_010_1) that accepts a simple document. Process then executes a flow service that creates a referenced document list called SubprocessModels based on pub.prt:SubprocessModel.
    Here is the document as created.
    SubprocessModels
    SubProcessModels[0]
    WaitForSubprocess = false
    SubprocessModelId = RTI_010_1_SP1
    SubprocessInstances[0]
    Inputs[0]
    Type = pkg.Docs:RTI_010_1
    Document = Same document that triggered primary process.
    SubProcessModels[1]
    WaitForSubprocess = false
    SubprocessModelId = RTI_010_1_SP2
    SubprocessInstances[0]
    Inputs[0]
    Type = pkg.Docs:RTI_010_1
    Document = Same document that triggered primary process.

    The main process model then goes into a “call” activity with this document set as input. But the 2 sub processes are never invoked. The main process is not waiting on return documents and is completing successfully. I have tried adjusting the looping logic in Call step but I don’t understand how this is supposed to be used.
    Would anyone have any examples of using this they would like to share?
    Thanks


    #BPM
    #webMethods
    #webMethods-BPMS


  • 2.  RE: Dynamic Referenced Process

    Posted Tue September 23, 2014 09:22 PM

    Parent process will not wait for child processes to complete if you set WaitForSubprocess = false. You must set it to True.


    #webMethods
    #webMethods-BPMS
    #BPM


  • 3.  RE: Dynamic Referenced Process

    Posted Tue September 23, 2014 09:40 PM

    Yes I understand the parent will not wait unless this is set to true. However I cannot get the referenced process to execute at all. It looks to me as if the parent call activity is not calling anything


    #BPM
    #webMethods
    #webMethods-BPMS


  • 4.  RE: Dynamic Referenced Process

    Posted Tue September 23, 2014 09:40 PM

    Yes I understand the parent will not wait unless this is set to true. However I cannot get the referenced process to execute at all. It looks to me as if the parent call activity is not calling anything


    #webMethods-BPMS
    #BPM
    #webMethods


  • 5.  RE: Dynamic Referenced Process

    Posted Wed September 24, 2014 09:33 PM

    Another thing, SubprocessModelId should be like project/process
    ex: projectName/ RTI_010_1_SP1


    #webMethods-BPMS
    #webMethods
    #BPM


  • 6.  RE: Dynamic Referenced Process

    Posted Wed July 01, 2015 12:28 PM

    Hello,

    Are you still having this problem?

    As I know, the Document should be of the type: pkg.Docs:RTI_010_1

    Best regards,
    Vlad


    #webMethods-BPMS
    #BPM
    #webMethods