I now have a process starting by a form which includes sub-form, allowing user to apply multiple items in same process instance.
But the thing is, I may have to start the process through external form.
so I call the API "CreateProcInst" when user applying something from external form,
and pass the value which user applied to parameter "Attributes".
It worked fine if user only have one thing to apply like this pic below
But I failed to pass multiple items' value, and if I change the "Name" field to "XXX:[*]" like it said in the Data Model, I will get an Invalid token error.
I tried to start a process from Agilepoint, applying multiple items.
Then I checked the data in Runtime Management, and the Xpath was with index at the end.I tried to copy that Xpath and change the parameters of API CreateProcInst.
But still, the process created only contained one item in subform.
Should I create a form variable (SubFormItem) from API of any kind or what? Does anyone know how to fix this problem?
Please sign in to leave a comment.