readAppSettings Step

Use this step to read app settings from appSettings.json file.

Last published at: January 6th, 2026

Description:

This step reads a value from the appSettings.json file.

 

Inputs

  • appKey – Name of the key
  • variableName – Variable to store the value of the key
  • appSettings - Multiple App Settings 
 

 

Returns

  • True – step executed successfully
  • False – step failed to execute 
 

 

Usage:

 

 

Example:

Let’s build and execute the “readAppsettingsDef” example.          

  • Create a new process definition called “readAppsettingsDef” and open it in Designer mode.
  • Drag a “readAppsettingsDef” step to the canvas. 
  • Connect the dots between the “Start” and “readAppsettings” steps, as shown above.
  • Define a variable or a global to store the app settings.
  • Click the "readAppsettings" step to configure its "Required" properties. Provide a name for the step, then click the Save button. Note: Click the "AI Predict" button to have the Copilot add new process steps that match your process description. 

 

  • Click the "readAppsettings" step to configure its "Optional" properties. Provide the application key and the variable or global to store the setting's value. Click the button to define multiple app settings. Then click the Save button. 

 

  • Click the button to define multiple app settings. A pop-up window appears for configuration. Click the Add Row button to insert an empty row. Enter the App Setting Key and the variable or global reference to hold the value. Click the Save button. You may add multiple app setting references by using the Add Row button. Note: Use either single or multiple app setting configurations, not both. 

 

  • The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

 

  • To proceed with this step, the appSettings.JSON file should contain data like the following code:
<configuration>
  <appSettings>
     <add key="SslEnabled" value="true"/>
     <add key="IsMultiTenant" value="false"/>
   </appSettings>
</configuration>

 

  • Save the process definition, create a new instance, and execute it. Render the process instance. Click the process step. The step properties should display the value from the application configuration.

 

 

Definition Sample:

You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page. 

Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes. 

Click here to download the sample file.