|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Fields
The Fields interface acts as a parent object for all fields or process attributes within a form, an integration service
or a workflow process. Individual fields or process attributes are accessed using their field/process attribute name.
When the name is not a valid Java identifier e.g. it begins with a numeric, the element can only be
accessed using the getField(String) method.
When running an event that forms part of a deployed component, only fields from the component can be accessed.
All included fields can be iterated using the following code:
for ( var field in Iterator(fields.iterator()) )
{
log(field.elementName);
}
Examples:
fields.FIELD1.value = "Test";
fields.getField("2FIELD").value = 123;
| Method Summary | |
|---|---|
Field |
getField(java.lang.String fieldName)
Returns the Field with name fieldName. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
Field getField(java.lang.String fieldName)
Field with name fieldName.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||