Pass form data to subprocess

Comments

9 comments

  • Avatar
    Alexey Shmelkin (ABSC.de)

    Hi Rakesh,

    you can use for that "initiate loop" and "next loop" activities to pass data to subprocesses. In subprocess activity you should set "wait for complete" at false, so you will create in loop multiple parallel supworkflows.
    Regars,
    Alexey

    0
    Comment actions Permalink
  • Avatar
    Rakesh Burde

    I want to keep only form activity in the main process. and test of all activity in subporcess. Is there any way or example to achieve this.

    0
    Comment actions Permalink
  • Avatar
    Alexey Shmelkin (ABSC.de)

    Hi Rakesh,

    when you configure subprocess activity on the last tab you will see the option "share all data". This is what you need. In subprocess you will find the same variables in form fields and process fields. Data Source is for external data (databases, sharepoint etc.)

    Regards,

    Alexey

    0
    Comment actions Permalink
  • Avatar
    Rakesh Burde

    I have tried all three options for mapping attributes. But it is not reflecting in subprocess. Is it automatically visible in subprocess ?

     

    Also as you can see in below screen. I am unable to map entire subform to subform. Is it correct? Will all sub form data available in subprocess ?

     

    0
    Comment actions Permalink
  • Avatar
    Rakesh Burde

    According to below ticket 
    https://helpdesk.agilepoint.com/hc/en-us/community/posts/360019342593-Can-Subform-Data-be-passed-from-a-Parent-Process-to-a-Child-Subprocess-

     the only way to do this is use the "Share all Attributes" or "Copy all Attributes" options when configuring your sub-process calls.
    and I do so but not getting attribute in subprocess.

    What is wrong in it.

     

    0
    Comment actions Permalink
  • Avatar
    Alexey Shmelkin (ABSC.de)

    Hi Rakesh,

    one more time: by using copy all atributes/share all attributes you will find your data in process fields and form fields. Don't look for them in DataSource tab.

    Regards,

    Alexey

    0
    Comment actions Permalink
  • Avatar
    Rakesh Burde

    Hello Alexey,

    Sorry to say but it still not visible in process fields and form fields. 

    0
    Comment actions Permalink
  • Avatar
    Alexey Shmelkin (ABSC.de)

    Hi Rakesh,
    your subworkflow is in separate app? If so, you won't see the fields, because you share all attributes only at runtime, not at design time. If you want to test your functionality in a separate app, than you will need to create all the fields and map them from parent app. But you can also create new process model in a parent app and there you will see all the fields.
    Regards,
    Alexey

    0
    Comment actions Permalink
  • Avatar
    Rakesh Burde

    Thanks, Alexey, 
    I am creating a new process model in a parent app. and it is working.

    0
    Comment actions Permalink

Please sign in to leave a comment.