Argument of config file

how config file invoke in invoke activity and use config file in other workflow

thats what use of arguments , just try to understand the how arguements work

Duplicates being posted in different threads:

https://forum.uipath.com/t/config1/464582/4?u=jeevith

Their is two workflow Read config and unique their is error


how config file argument pass in unique workflow

Hi for the output of “config” you can set the arguments as “OUT” in the read config paramaters

set the arguments as “OUT” it will make the value from inside " read config " workflow will act be able to transfer outside of the “invoke workflow” and you can assign the “OUT” arguments into a variable in the “MAIN” workflow

hope this helps
regards
ahmad

can you upload the xaml @Yogita_Gaikwad

Hi @Yogita_Gaikwad,

You have been posting duplicate threads on the same question. This is not good practice in any public forum. Many members waste time reading duplicate posts.

Multiple posts only will delay response time and can result in orphan threads.

Ask your question once and reply to the same thread.

@loginerror

  1. Read_Config - Reboot Your Skills / Automation Starter - UiPath Community Forum
  2. Read config error - Reboot Your Skills / Automation Starter - UiPath Community Forum
  3. Argument of config file - Reboot Your Skills / Automation Starter - UiPath Community Forum


this my error while reading config file and assigning to the variable it gives an error object reference not set to an instance of an object. can u tell what is the problem

can you show full syntax that you using in assign activity?

your config argument or varibale doesnt contains the value may be the chec variable by debug mode from watch panel

Hi @Yogita_Gaikwad

Add .tostring in the assign value
out_ConnectionString = in_ConfigDictionary(“CompanyFilePath”).ToString


it gives an error again same error

Check CompanyFilePath Key exist in config file,

Also Just to get a clear picture, have you read all the config values before and stored in in_ConfigDictionary Variable?

yes i have CompanyFilePath key in the config file and all values are read while storing in ConfigDictionary variable

Try changing the datatype as Dictionary<string,object> for config variable

Duplicates reported :

https://forum.uipath.com/t/config1/464582/4?u=jeevith

it gives an error to the add directory


while reading config file and assign to the variable it gives an error to the processing folder i.e Object reference not set to an instance of an object

Duplicates reported in the following thread :

https://forum.uipath.com/t/config1/464582/4?u=jeevith