Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

The Queue Processor in Adeptia Connect manages and regulates the execution of process flows. It regulates the execution by:

  • Limiting the number (defined by the user) of process flows for concurrent execution. Refer to the section Setting up the number of concurrent process flow execution.
  • Executing the process flows based on the priority information associated with each process flow.
  • Keeping the user informed about how many process flows are in what state (Running, Ready, Queued, and Corrupt). Refer to the section Viewing information about process flows.

    The Queue Processor executes process flows based on the priority information associated with each process flow. You have the following priority levels available to set for a process flow: 

  • Real Time Processing
  • High
  • Medium
  • Low 
    Info

    Any process flow with 'Real Time Processing' priority bypasses the Queue Processor and is executed immediately. The following types of process flows also qualify to be executed immediately bypassing the Queue Processor:

    • Process flows associated with Web Services
    • Process flows with an Event that has Trigger in Sequence as checked
    • Child process flows (except for Spawn action with 'Wait For Child as False')

    Process flows with High, Medium, and Low priority are executed by the Queue Processor. The order of execution of process flows based on the priority is as follows:

    1. High
    2. Medium
    3. Low

    Process flows with same priority level are executed on first-in, first-out (FIFO) basis. 

    Refer to the section Defining Priorities for Process Flows to know how to set the priority. Adeptia recommends you to set the priority for your process flows in such a way that none of them remains in the queue for a long time. This is also to mitigate any risk of low or medium priority process flows not being executed at all. 

    Info
    The priority levels 'Immediate' and 'Normal' for process flows defined in the previous version of Connect will be considered as 'Real Time Processing' and 'Low' priorities respectively. 
    Viewing information about process flows AnchorViewing process flowsViewing process flows

    The Queue Processor page displays the number of Running, Ready, Queued, and Corrupt process flows with their details (Process Flow Name, Job ID, Time, Priority, and Status). Follow the steps below to go to the page:

  • Log in to Adeptia Connect.
  • Click Account and select Maintenance.
  • Click Queue Processor in the left pane to open the page.
    Image Removed
    Info
    Only an Admin user can access Queue Processor page.

    To search for Process Flows for a specific time period, go to advanced search.

    Click the arrow in the search box.
    Image Removed
  • Enter the Process Flow's name in the Process Flow Name field.
  • Select the Process flow status from the drop-down list of Select Status.
  • To select the time interval for which you want to view the Process Flows, click the calendar icon and select the date to enter in From and To field.
  • Click Search.
  • To know how to clean up the queued processes in Queue Processor, click /wiki/spaces/AC40/pages/3181249.

    Setting up the number of concurrent process flows execution AnchorSetting up the value for concurrent executionSetting up the value for concurrent execution

    You can limit the the number of process flows for concurrent execution by updating the system property abpm.queue.processor.concurrent.processes in Connect. Perform the following steps to set the value:

  • Click Configure icon.
  • Select Developer Studio from the left pane and then click Proceed.
  • Go to Administer tab and click Setup drop-down menu.
  • Select Application Settings and then Update System Properties.
  • Expand Load Management and then Cluster and Queue Processor Configuration.
  • Enter a number in the Value field for the property abpm.queue.processor.concurrent.processes.
    Image Removed
    This defines the number of process flows for concurrent execution. 
    Info

    After you update and save this property, you need to restart the server to see the change in action.

  • Click Save.
  • See also

    /wiki/spaces/AC40/pages/3181249

    The Queue Management feature in Adeptia Connect allows you to manage and regulate the execution of Transactions, Templates, and Process Flows. You can create a dedicated queue for the execution of Transactions associated with a Partner on a dedicated runtime instance. You can also choose to run a specific set of Transactions, Templates, or Process Flows of the company, on a dedicated runtime instance. A queue that you may have created can be edited or deleted at any point in time. 

    Info
    Only the sys-admin type users can access Queue Management feature.

    Image Added

    When you create a queue, a new runtime service also gets up at the same time, and it starts accepting the transactions from that queue to process them. 

    It regulates and expedites the execution by :

    • Allowing you to line up the Transactions or Process Flows based on where they're coming from - a specific partner, or the company itself.
    • Producing a dedicated queue for the Transactions or Process Flows and a Runtime service corresponding to them.
    • Managing the number of pods automatically based on the minimum, maximum, and the threshold values defined for them.

    The following sections describe how you can create, edit, or delete queues in Adeptia Connect.