Read application settings

Last published at: May 14th, 2024


Reads a value from the application configuration file web.config or cDevWorkflowService.exe.config


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


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



Let’s build and execute the readappsettingsDef example.          

  • Create a new definition called “readappsettingsDef”
  • Select the definition and click the “design” button
  • Drag a readappsettings step from the toolbox
  • Connect the dots between the start and readappsettings step
  • Click on the “readappsettings” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic
  • To work with this step, appSettings.Config file should have data like below code:



     <add key="ShowQueryTextbox" value="true"/>



  • Click on Multiple App Settings button

  • Can read multiple app settings values using above configuration.
  • If multiple items configured then, appsettings will read from multiple items configuration otherwise it takes single item defined.
  • Save the workflow definition, create a workflow instance, and execute. Step should read value from application configuration.