Queue related quation in Level 3 assignment 2

Hi ,
i am doing level 3 assignment -2 ,
my script failing at ‘add queue orchestrator’ condition and executing comment section .I did not understood what is use of below sequence and what input i should pass to input argument.


can any one please help me on this i am completely not able to move to next step due to this issue.

Do you have OrchestratorQueueName entry in the config.xlsx file settings tab as shown below -

HI Karthik ,
Thank you for rply.

yes i have queue entry in settings sheets like below sheet.

.
my condition is failing at below point and i thought it may due to ‘orchestratorQueuename’ is empty in arguments panel.

and added below value but it is showing the validation issue.

can you please help on this.

Can you please check the variable name. Is it config or in_config ?

I am using config variable only.

Send me a screenshot of variables for the main workflow.

Hi Karthik,
This is my main workflow variable panel and arguments panel.
Variable panel:

.
arguments panel:

Do i need to add any extra variable to my workflow.

Hello,
You can set defaults to in Arguments… Try adding
Config("*").toString
As dictionary is of string, object…
Let me know what’s the error when you hover on it (blue icon)

Thanks,
Meg

Hi Meg,
thank you very much for your rply.

you meant say ,i need to change the value of ‘config’ variable value in main workflow to config("*").ToString ,if it is yes below validation error i am getting.

Compiler error(s) encountered processing expression “Config(”*").ToString".
Value of type ‘String’ cannot be converted to ‘System.Collections.Generic.Dictionary(Of String, Object)’.

.
or can please give me some more info.

Thanks in advance.

Hello,

Sorry to mis-lead, I replied to your second post where you have the screenshot of arguments screenshot…

There you pass
Config(“OrchestratorQueueName”).toString

Not in variables it’s in arguments part.

Thanks,
Meg

No problem meg :slightly_smiling_face:

I have tried that also but getting below validation error. this issue with ‘Config’ variable ,i am not able to access that variable into below sequence.
Compiler error(s) encountered processing expression “Config(“OrchestratorQueueName”).ToString”.
‘Config’ is not declared. It may be inaccessible due to its protection level.

Do i need to create any in argument for that to access config variable .I am not getting exact idea how to access config.

Hi,
Can you check the scope of the config dictionary variable??

Anyway it will be created and accessable throughout the main.xaml file
If you didn’t made much changes in RE framework it should be accessible
It works like ( it start from initallsettings.xaml reads config.xlsx file and store in dictionary and that will return the dictionary to main.xaml)

May be config used as in_config sometimes just check the names

Still issue means zip and mail me the files will have a look into it.

Thanks,
Meg

Hi meg,
my config variable scope is ‘general business process’ only .
can you please help on issue .
this is my file Issue.zip (1.8 MB)

Have you published your workflow to the Orchestrator?

Just delete the “Save job arguments Config” activity and see.
In my workflow I have deleted it. This activity is not required I guess.

Hi karthik,
I did not get question exactly .But below is the process up to where i can successfully execute.
In assignment 2 as per document,

  1. Get into ‘Init’ state and also ‘First Run’ sequence if we are executing it first time
  2. In ‘First Run’ sequence - able to execute successfully ‘InitAllSettings.xaml’ and ‘KillAllProcesses.xaml’
  3. After entering into ‘Save job arguments Config’ sequence ,Condition in the sequence is returning false .
    I have tried to give value to ‘OrchestratorQueueName’ argument but i am not bale to access ‘config’ variable into that sequence.

For more reference i have added my files in last rply.

Thank you very much for your support.

Delete Save job arguments config activity. It is not required.

Hi ,
50% of issue got resolved.
i have deleted Save job arguments config activity. and tried to debug but i am getting below issue with ‘Add Log Fields’ activity.

.

Add the missing entry in the settings tab of config file -

logF_BusinessProcessName
Generate Yearly Report for Vendor Dispatcher
This is a logging field which allows you to group the log data of two or more subprocesses under the same business process name

Thank you very much. great help
Issue got resolved.

1 Like

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