Skip to main content

Enactor Tool Kit

Call Web Action

This section describes the functionality of a Call Web Action. It is a mechanism of invoking an action on a (possibly) remote server via a web service.

Properties

PropertyValue
Action IDThis is the exact name of the action (no spaces), e.g. AddLocationIdFilter.
Class NameThis is the class name of the action, which can be selected from a drop down list, or entered by the developer, e.g. com.enactor.commonUI.list.processes.AddListFilterAction.
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.
Default Next State IDThis indicates the ID of the next state in the process flow, e.g. NewUser.
Expected Execution Time (ms)This numerical value is the expected execution time of the action in milliseconds.
Fallback OptionThis shows the requirement when fallback occurs. The options are: None, Cannot Connect or 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.
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.
NameThis indicates the name of the action in a more readable format, e.g. Remove User.
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, e.g. Success.
Unused - a tick indicates that the outcome is not used by the action.
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.
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, e.g. enactor.coreUI.MessageBasename.
Value - the value of the parameter, e.g. com.enactor.maintenance.resources.UserMaintenanceMessages.
Type - the type of the parameter, e.g. java.lang.String.
PrivilegesThis indicates the privileges for the selected action, e.g. enactor.userMaintenance.Remove.
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.
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.
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.
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.
  • Double clicking on various parts of the action will bring up further information, e.g. on the name of the action will bring up the actual source code, on the Inputs will bring up the Inputs information.
  • If a small light bulb appears adjacent to a property value, it means that Content Assist is available. By pressing the control key followed by a space, the standard Select Type dialogue will appear, enabling the User to search for the required file.
  • For most types of actions, shift followed by double click on the Inputs will bring up the Parameters for that action.
  • The User can switch between display types using the tabs at the bottom left hand side of the window. Source displays the process in XML format. Model displays the process in an easy readable, diagram format. Flow displays the flow page associated with the process.