Skip to main content

Enactor Tool Kit

Call Web Action

This is an example of a Call Web Action (highlighted in red in the diagram below). It is a mechanism of invoking an action on a (possibly) remote server via a web service.

Call Web Action - Process Example

Call Web Action Example

Call Web Action Example

Property values for above example

PropertyCommentValue
Action IDThis is the exact name of the action.CheckAvailableAmount
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.cashManagement.actions.CheckAvailableAmountAction
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
Expected Execution Time (ms)This numerical value is the expected execution time of the action in milliseconds.0
Fallback OptionThis shows the requirement when fallback occurs. The options are: None, Cannot Connect or No Endpoint Found.No Endpoint Found
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, e.g. enactor.coreUI.EntityName.
Type - the type of the input, e.g. java.lang.String.
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.Check Available Amount
OutcomesThis indicates the possible outcomes of the 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 outcome.
Unused - a tick indicates that the outcome is not used by the action.
See the example
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.
Type - the type of the output.
See the example
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
PrivilegesThis indicates the privileges for the selected action, e.g. enactor.userMaintenance.Remove.Undefined
Service DefinitionThis is declaration of the Web Process (service) to be called. This is typically a WSDL file, i.e. Web Service Description Language, e.g. ReportService.wsdl.Undefined
Service LocationThis field determines the location of the service definition in the previous field, e.g. soap-http://portName=SOAPPort;url=http://localhost:8080/WebReports/services/ReportService;
namespace=http://www.enactor.com/coreReporting/service;urn=ReportService.
Undefined
Session Management TypeThis field determines the session management for the action (if any). It is selected from a drop down list, i.e. None, Make new session, Make session if one does not exist, Manages own session or Needs existing session.None
TypeThis indicates the type of action. It is selected from a drop down list, i.e. Pause, Assign, Action, Execute Script, Call Process, End Process, Execute in Window, Execute Process or Call Web Process.Call Web Action

Inputs Example

NameTypeRequired
enactor.cashManagement.BagsListjava.lang.ListNot set
enactor.cashManagement.CMTransactioncom.enactor.cashManagement.entities.ICMTransactionNot set
enactor.cashManagement.NewBagTendersjava.lang.BooleanNot set
enactor.cashManagement.NewBagTendersListjava.lang.ListNot set
enactor.cashManagement.TendersListjava.util.ListNot set
enactor.coreUI.ExecutionEndpointReferencecom.enactor.core.processConnections.IEndpointReferenceNot set

Outputs Example

NameType
enactor.cashManagement.NewBagTendersListjava.util.List
enactor.cashManagement.TendersListjava.util.List

Outcomes Example

NameUnused
FailNot set
SuccessNot set