If you have a comment on this topic, contact Aptify Documentation. If you want to return to the Aptify Community Site, please click here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

There are two types of server devices supported for use in the Aptify environment:

  • Aptify Database Server: A computer that is running Microsoft SQL server and runs all of Aptify's server components. It stores the Aptify databases.
  • Aptify Application Servers: These are optional servers that can download and execute Process Flow Runs from the Aptify Database Server. An Application Server has the Aptify client application and the Application Server component installed. One or more Application Servers on the network can run Scheduled Tasks and reduce the workload of client computers.

The following is an overview of how an Application Server communicates with an Aptify Database Server:

  1. A system administrator installs and configures the Application Server component on a network -computer.
  • The installation process adds the Aptify Asynchronous Processor to the -computer's Windows Services.
  • Do not install the Application Server component on the computer that is running the Aptify Database Server.
  • In general, Aptify does not recommend installing the Application Server component on the computer that is running the Aptify database server in a production environment. However, you can install the Application Server on the database server in a test environment if you want to use this functionality but do not have another computer available for testing.
  • The organization's Aptify Database Server must already be installed and running before you add Application Servers to the system.
  • See "Installing an Application Server" on page 13 for installation details.
  1. Once installed, the Application Server polls the database server at regular intervals.
  • The Application Server is looking for Process Flow Run records with a Status of Pending.
  • Asynchronous Process Flows triggered by an Event Handler or a Scheduled Task create pending Process Flow Run records.
  • See the Process Pipeline OverviewAptify Process Pipeline Guide for information on creating Process Flows and configuring Event Handlers.
  • See "Scheduled Tasks" on page 37 for information on creating Scheduled Tasks.
  • The Polling Interval parameter determines how often the Application Server polls the database server. See "Polling Interval" on page 33 for details.
  1. The Application Server locates pending Process Flow Runs and downloads them from the database server.
  • When the Application Server downloads a Process Flow Run, the run record is automatically updated: the -Status field changes to In-Progress, a check mark is added to the Task Sent To Server box, and the Application Server's name appears in the Client Machine Name field.
  • An Application Server configured to process only targeted Process Flow Runs will only download runs where its name is specified in the Application Server field. The Application Server will not execute untargeted runs (that is, Process Flow Run records that have the Application Server field blank).
  • The Maximum Threads parameter determines the maximum number of Process Flow Runs the Application Server can execute concurrently. See "Maximum Worker Threads" on page 32 for details.
  1. The Application Server executes the Process Flow specified by the Process Flow Run.
  2. The Application Server updates the Process Flow Run record with the process results.
  • The record's Status field changes to Complete (if the run was executed without error) or Error (if an error occurred during execution).
  • The Application Server populates the Process Flow Result Code field with the appropriate result if the Process Flow Run completed without error. The available Result Codes depend upon the configuration of the Process Flow.
  • If the Result Code corresponds to a successful result, a check mark is added to the Success box. Users designate specific Result Codes as successful during -Process Flow configuration.
  1. The Application Server continues to poll the database server at regular intervals, as specified by the Polling Interval parameter
  • No labels