Cannot convert object to string

Hi All,

I’m working on the RPA 3 certification and i’m receiving this error. Could you please assist? thanks.

I am receiving this error after log-in.

Error getting transaction data for Transaction Number: 1. Can not convert Object to String. at Source: Newtonsoft.Json

background:

  1. I am using a queue from orchestrator and
  2. transaction item in main is string and
  3. out_transactionitem in get transaction item is a queueitem.

Thanks.

image

kindly mention like this when accessing queue item from queue
yourqueuename.SpecificContent(“attributename”).ToString
kindly have a view on this document on how to access different values of a queue item

kindly try this and let know for any queries or clarification

Cheers @aflores

Thank you Pala. the queue name is the same as in orchestrator. image

1 Like

Is this working
Cheers @aflores

so the error is not seeing the items in queue.

image

@aflores

Try using this expression to convert an object to string,
CStr(in_Config(“OrchestratorQueueName”))

@sharique.khan
this moved it a little farther but still the same. image

1 Like

This occurred because there is no more transaction to be processed
Kindly check once in debug mode so that we will get to know why it is stopping
Cheers @aflores

@Palaniyappan

thank you. I still have transactions in queue. While taking this screenshots, I realized it actually cycled through some but was abandoned.

@Palaniyappan
This is the error. It’s the same as before.