On Element Appear- Assignment 2

Hi all

In Dispatcher workflow of Assignment 2 I’m getting the following error
{
“message”: “On Element Appear: The given key was not present in the dictionary.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “13:05:23”,
“processVersion”: “1.0.6938.20596”,
“jobId”: “7a333a7f-5265-4c1d-a115-ddc1431c0b2b”,
“robotName”: “Assignment Robot”,
“machineId”: 71956,
“fileName”: “Process”,
“logF_BusinessProcessName”: “Framework”
}

Can someone please help me to solve this. I will attach my workflow here

Reframework Assignment 2 (2).zip (2.2 MB)

1 Like

I see below issues:

  1. In this ass2gnment you should not be selecting the option ’ Data Spans multiple pages’ when doing the data
    scraping as you have to scrape one page at a time. Redo this.
  2. (the reason for the error) In the Process.xaml you have used Add Queue Item but the QueueName is incorrectly passed.

    When using the Config the framework creates a dictionary and you should pass they key and not the value to fetch from the dictionary. So in this case you should use:
    in_Config("OrchestratorQueueName").ToString

Please correct the above and you should be good :slight_smile:

1 Like

Hi Nadim

Thank you for your solutions. I changed the Queue name and now its working perfectly.
But I’m getting another error

{
“message”: “On Element Appear: The operation has timed out.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “21:48:57”,
“processVersion”: “1.0.6938.38542”,
“jobId”: “01b09834-e62e-490e-afa2-58359a45e3c0”,
“robotName”: “Assignment Robot”,
“machineId”: 71956,
“fileName”: “Process”,
“logF_BusinessProcessName”: “Framework”
}

I think it is because of the first problem. I don’t understand how to redo it. Can you please explain me the steps.

Many Thanks

1 Like

Are yo connected to the Orchestrator?
I think some connectivity issue. Can you check your orchestrator queue, robot etc?

Yep I have already connected. and queue items are also getting uploaded successfully.
but still getting the error.
And I didn’t understand how to scrape one by one? how to redo that?

Thanks

And this is my modified workflow. Please check it once and help me.

Thanks :slight_smile:
Reframework Assignment 2.zip (2.5 MB)