Searching Field values in Bpm Processes
Last updated
Last updated
Inside aBpmProcessInstance the Form is accessed directly but in a aBpmProcessDefinition a collection with indexes is used so the field type is added between square brakets []. This last exception was implemented because a field can change it's type in a form BUT indexes are used so different types are allocated in different collections. If not it will generate anImproperOperation at GemStone/S level.
aBpmProcessDefinition getFieldsNamed: 'citizenAge[n]'in: 'new-form'withValue: 25.
aBpmProcessDefinition getFieldsNamed: 'citizenName[n]'in: 'new-form'withValue: 'John'.
In BpmProcessInstance each BpmTaskInstance is associated with anOrbeonFormInstance.
aBpmProcessInstance getValuesOfProcessField:'citizenName'.
aBpmProcessInstance getValueOfProcessField: 'citizenName'.