Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document directs the user to configure the ProcessFlowRun Process Flow Runs WebJob on Azure Portal. This web job replaces the Async Server. The Web Job runs on Continuous Mode and picks and executes any Process Flow Run record available at any instance.

...

Part 1: Code File Config Changes:

  1. Open the Zipped Folder Containing the code files.

  2. Search Extract the APTIFY_700_Database7.0.0 zipped file and go to the Core Database Setup folder containing the Utility folder.

  3. Under the Utility folder search for ProcessFlowRunWebJob.exe.config and open the same in Notepad or Notepad ++

  4. Configure the tags “AzureWebJobDashboard“ and “AzureWebJobStorage“ with Storage Account Connection String.

  5. App Insights has been configured for these web jobs and logs can be found in App Insight log file. To enable the app insights, Instrumentation Key is required (Line 25 of the picture below). Refer to Configuring Serilog with Azure Application Insights to know more about App Insight.

    1. To get instrumentation key for App Insights, log into Azure portal and select the service Application Insights.

    2. Select the Application Insights for which you want to configure the logs.

    3. Under the overview tab you will find the Instrumentation key.

  6. The below keys are required by web job to log into the database:

    1. UserDatabase = “Aptify

    2. EntitiesDatabase = “Aptify“

    3. SqlLogin and Password will be the credentials to log into the db.

    4. Server = Managed instance Endpoint (See Point 5.d.i to 5.d.iii)

      1. To get managed instance endpoint, log in to the Azure portal and select SQL Managed Instances Service.

      2. Select the instance to be connected with the web jobs

      3. Once you select the instance you will find Networking under Security and Endpoint on the right pane of screen as highlighted in the below screenshot.

  7. Once all changes are done in config file, save and close it. Select all the code files and zip them, give the zipped file a meaningful name.

...