cancel
Showing results for 
Search instead for 
Did you mean: 

A query about formService.getStartFormData(procDefId)

swamy2156
Champ on-the-rise
Champ on-the-rise
Hi,

I have a simple bpmn service which consists of subprocess something like this.
Start1 -> SubProcess[Start2 -> UserTask -> end] -> end.
and I created few formProperties in Start1 and Start2 forms. When I use formService.getStartFormData(procDefId) to get all(start1&start2) form properties I was expecting all start form properties but it was returning only Start1 form properties list only.  Is this a bug? if not, could you please let me know API call to get all start form properties list.

Thanks,
Swamy.


1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi Swamy,

getStartFormData will only return the form properties of the none start event of the root process definition. It's meant to get the form properties of that start of the process definition only. If you want to get the form properties of start 2 as well, you need to get the BpmnModel from the RepositoryService and get the form properties from the StartEvent instance.

Best regards,
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.