Get embedded subprocess start form data

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2015 02:56 PM
Hi,
In a process, using the formService.getStartFormData(processId) to retrieve initial form data is working smoothly, but I want to retrieve the initial form data within an embedded subprocess, is this possible using something like FormService.getStartFormData(…)
Thanks!
In a process, using the formService.getStartFormData(processId) to retrieve initial form data is working smoothly, but I want to retrieve the initial form data within an embedded subprocess, is this possible using something like FormService.getStartFormData(…)
Thanks!
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2015 11:09 AM
No, embedded subprocesses don't have a start form capability, after all they are started from within an other process. A user task with the form after the start event of the embedded subprocess would be what you need to use in this case.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2015 01:08 PM
Thanks Joram
We're developing a generic validator module that checks if all the parameters required for a certain process are given, this happens before attempting to initalize a new instance.
Everything's ok except for subprocesses, so the workaround was declaring inside the java class a list of parameters names within a subprocess map. The problem arises when subprocess definition changes, we have to manually change the java class.
We're developing a generic validator module that checks if all the parameters required for a certain process are given, this happens before attempting to initalize a new instance.
Everything's ok except for subprocesses, so the workaround was declaring inside the java class a list of parameters names within a subprocess map. The problem arises when subprocess definition changes, we have to manually change the java class.
