Skip to main content

Enactor Tool Kit

Iterator State

This is an example of an Iterator State (highlighted in red in the diagram below). This is a state that allows the process to iterate over a set of data, repeating associated actions for each value in the iterator.

Iterator State - Process Example

Iterator State Example

Iterator State Example

Property values for above example

PropertyCommentValue
Class NameThis is the class name of the action, which can be selected from a drop down list, or entered by the developer.com.enactor.coreUI.states.UIIteratorState
CommentsThis is a text field which can contain additional information about the action. It is displayed as a tool tip when the action is hovered over with the mouse.Undefined
Default Next State IDThis indicates the ID of the next state in the process flow, e.g. NewUser.Undefined
EventsThis indicates the events required for the selected action. Double-clicking on the value field will bring up a table which will identify for each input the following:
Name - the name of the event.
Unused - a tick indicates that the event is unused by the action.
See the example
Flow Page OptionsThis option enables the developer to produce a flow page diagram associated with the Process Diagram. The text can be entered/edited by double clicking on the value field for this property. The developer can also edit/view the Flow Page by selecting the flow tab when editing the process diagram.Undefined
InputsThis indicates the inputs required for the selected action. Double-clicking on the value field will bring up a table which will identify for each input the following:
Name - the name of the input.
Type - the type of the input.
Required - a tick indicates that the input is required by the action.
See the example
NameThis indicates the name of the action in a more readable format, e.g. Remove User.Undefined
OutputsThis indicates the outputs produced for the selected action. Double-clicking on the value field will bring up a table which will identify for each output the following:
Name - the name of the output, e.g. enactor.coreUI.ListCriteria
Type - the type of the output, e.g. com.enactor.core.servers.IListCriteria
Undefined
ParametersThis indicates the parameters required for the selected action. Double-clicking on the value field will bring up a table which will identify for each parameter the following:
Name - the name of the parameter.
Value - the value of the parameter.
Type - the type of the parameter.
See the example
Respond to View Events?This is a flag (true or false) which is selected from a drop down list.false
Single Instance?This is a flag (true or false) which is selected from a drop down list.false
State DataThis indicates the state required for the selected action. Double-clicking on the value field will bring up a table which will identify for each state data the following:
Name - the name of the state data.
Type - the type of the state.
Transient - a tick indicate that the selected state data is transient.
See the example
State IDThis is the ID of the state.LoopLocations
URLThis is URL for the state, e.g. /Message/NonModalOK.Undefined

Events Example

NameUnused
CompletedNot set
ExecuteNot set

Inputs Example

NameTypeRequired
enactor.coreUI.Iterablejava.lang.ObjectNot set
enactor.coreUI.LoopControljava.lang.BooleanNot set

Parameters Example

NameValueType
enactor.coreUI.LoopControltruejava.lang.Boolean

State Data Example

NameTypeTransient
Exceptionjava.lang.ThrowableNot set
enactor.coreUI.Iterablejava.lang.ObjectNot set
enactor.coreUI.Iteratorjava.util.IteratorNot set
enactor.coreUI.IteratorItemcom.enactor.core.database.list.IKeyedListElementNot set
enactor.coreUI.LoopControljava.lang.BooleanNot set