Skip to main content

Enactor Tool Kit

Prompt State

This is an example of a Prompt State action (highlighted in red in the diagram below), i.e. displays a User Interface to the user running the process. In general, the prompt state will pause at the UI, and await for events to be raised.

Prompt State - Process Example

Prompt State Example

Prompt 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.UIPromptState
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.Not set
Hide Open Prompt?This is a flag which is selected from a drop down list, i.e. true or false.False
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
Keep Previous Prompt Open?This is a flag which is selected from a drop down list, i.e. true or false.false
Keep Prompt Open?This is a flag which is selected from a drop down list, i.e. true or false.false
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.
Undefined
Prompt TimeoutThis is the value of the timeout for this prompt in milliseconds.0
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 of 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.EditState
URLThis is URL for the state./LoyaltySchemeMaintenance/EditLoyaltyTier

Inputs Example

NameTypeRequired
enactor.coreUI.ErrorMessagescom.enactor.coreUI.processes.FormErrorsNot set
enactor.maintenance.Createdjava.lang.BooleanNot set
enactor.maintenance.Entitycom.enactor.mfc.loyaltyScheme.ILoyaltyTierSet
enactor.maintenance.EntityStackjava.util.StackSet
enactor.maintenance.ReadOnlyjava.lang.BooleanNot set

Events Example

NameUnused
enactor.maintenance.BackNot set
enactor.maintenance.CancelNot set
enactor.maintenance.SaveNot set

State Data Example

NameTypeTransient
enactor.coreUI.ErrorMessagescom.enactor.coreUI.processes.FormErrorsNot set
enactor.maintenance.Createdjava.lang.BooleanNot set
enactor.maintenance.Entitycom.enactor.mfc.loyaltyScheme.ILoyaltyTierNot set
enactor.maintenance.EntityStackjava.util.StackNot set
enactor.maintenance.ReadOnlyjava.lang.BooleanNot set