Application is not opening using config file

Hi All,

i am trying to open website by reading values from config file.

i have created one workflow and created few arguments and then used get credential activity to get the credentials from orchestartor.

After that i have used type into activity to type user name and paswword and from property panel i passed the argument and variable which i created on above img.

now, i have invoked this workflow in initAllAplication workflow, but it is failed.

Hi @RAKESH_KUMAR_Tiwari

Looks like that any of the values you are passing is getting a null value, probably should be the in_Config argument
image

Please check whether your argument is receiving the correct value

Regards!

1 Like

yes, i have copied in_config argument from initAllAplication workflow and used in current workflow and used this argument in get credential activity to read the value from config file

yes, but you are not receiving any value, please check when invoking the in_config argument, if it is in the proper direction, also if you are passing the correct value, this argument cannot be null

1 Like

@RAKESH_KUMAR_Tiwari

I guess you ran the init all aplications xaml separately…you have to run it from main…because the config is read in initallsettings amd then the config is initiated…that variable is passed into init applications xaml which you are using to pass into your workflow you created…

So start from main and check

Cheers

1 Like

Hi @Anil_G ,

yes, when i ran the workflow from Main, it worked :grinning:

1 Like

@RAKESH_KUMAR_Tiwari

Happy Automation

Please remember whenever you create arguments values would be coming from the place where it is called…so please run in samw sequence

Hope this helps and resolves your issue

Cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.