Reframework argument empty

Hi all,

I am using Reframework and in main, the variable Config, I want to assign to the argument in_OrchestratorQueueName, but this on is empty.

In main.xaml, if I log message Config(“OrchestratorQueueName”) it gives me the correct message. But if I use an assign activity : Config(“OrchestratorQueueName”) = in_OrchestratorQueueName it is not working. This one is empty.

Do you know why?


Hey @Angel_Llull! Use


in your assign!

Hi Angel_Llull,

You need to convert the object to a string representation with .ToString before assigning it to a string.

Config(“OrchestratorQueueName”).ToString = in_OrchestratorQueueName

Kind Regards

Another point of note is that ReFrameqork’s input arguments are assigned at startup of your status machine. So, before reading your Config in Init state, so blank! If you want to store the queue name, create a variable and assign it after initialization of Config in your init state.

The assign activity is in Main.xaml after the Initialization Settings.xaml.

I use an argument from Init to Main out_Config = Config

Then, in Main.xaml Config(“OrchestratorQueueName”) = in_OrchestratorQueueName as this value is passed to another workflow.

If i put Config(“OrchestratorQueueName”).ToString = in_OrchestratorQueueName is not working as Config is a dictionary.

It seems we both misread the question. If you want to assign Config(“OrchestratorQueueName”) a value, simply use it in an assign statement.

If you want to print the value of it, you will need to use .ToString.

Could you elaborate on your issue, if you haven’t edited the default code in the template it should work as expected when you apply a value for the input argument in_OrchestratorQueueName, otherwise the code will not be ran and whatever value is read from the Config excel sheet in InitAllSettings.xaml will be present.


Kind Regards

Hey, was just going through this thread and got even more confused with regards to the in_OrchestratorQueueName argument. Why exactly is this used in the RE-Framework as I have always ignored this argument because the queue name is always derived from config file.
If you or someone could please help me on this.