ChrisPals
(Christoffer Palsgaard)
October 16, 2019, 2:34pm
1
Hi Community
I am trying to assign a value from the queue to a string, but i get this error below.
It seems it cannot value in the column “Navn”
So… how can I get the value from the ‘Navn’ Column, can i maybe indicate the index instead of “Navn” ?
What is the best practice for this?
Thank you
sarathi125
(Parthasarathi)
October 16, 2019, 2:46pm
2
Hi @ChrisPals ,
Which datatype you are using to store the values in the Queue.
ChrisPals
(Christoffer Palsgaard)
October 18, 2019, 8:22am
5
hi @sarathi125
I suppose you mean DataTable?
sarathi125
(Parthasarathi)
October 18, 2019, 8:34am
6
Yes, Do you have datatable inside your Queue item?
ChrisPals
(Christoffer Palsgaard)
October 18, 2019, 9:00am
7
I am not sure what you mean exactly.
As you can see,in the screenshot, each row in the DT is added to the queue.
So it might be DataRow?
sarathi125
(Parthasarathi)
October 18, 2019, 9:09am
8
You can use "Convert.ToString(datarow.Item(“Navn”)), if you are getting datarow from queue.
ppr
(Peter Preuss)
October 18, 2019, 9:11am
9
@ChrisPals
Can you share with us the configuration details for the item information Click on the … (Add Queue Item Activity)
ChrisPals
(Christoffer Palsgaard)
October 18, 2019, 9:15am
10
Where should i write this, before adding it to the queue or after?
ppr
(Peter Preuss)
October 18, 2019, 11:02am
12
@ChrisPals
thanks
the ItemInfo looks Ok, the retrieval statement on the TransactionItem.SpecificContent Looks Ok
So for the next analysis step I would suggest:
Is Navn Column data existed in Orchestrator Queue or not ? Could you please show me screenshot of your Orchestrator Queue data.
Post from @lakshman
therefore check for an added QueueItem if the Navn Value is available
Check the ItemInformation Setting if there is not a space on end of the Navn name
Debug your Workflow with Breakpoint on
and check TransactionItem in the local Panels
1 Like
ChrisPals
(Christoffer Palsgaard)
October 18, 2019, 11:06am
13
Hi all
I figured it out. Everything was ok, i just had old queue items in the queue that I needed to delete.
Thank you for all the input.
Happy Automating.
1 Like