Pass form data to subprocess
I have app that contains a form. This form has multiple subforms.
I want to save this form value in DB by insert activity in subprocess.
I want to know, How can I pass all form data (Including subform) to a child process. and how can I handle this form data in the child process?
-
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
-
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 ?
-
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. -
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
Please sign in to leave a comment.
Comments
9 comments