Key Not Found Exception- QUEUES

Hi ,
I am trying to get the items from the queue using GET TRANSACTION ITEM ACTIVITY. Getting ‘Key not found exception’ . Please help after looking at the attached snapshots
Screenshot 2022-12-06 220116

Thanks in advance.

Hi @Jeyalakshmi_KS,

There can be many reasons for this.

  1. Your TransItem may be empty (I suggest using the Reframework notation for standardising - in_TransactionItem or TransactionItem
  2. Your CashIn is spelled Cashin or. Cashin or Cashin or CashIn or CashIn
  3. The item you are getting genuinely does not have a CashIn key

Also,

Once you do find the key, the expression you used will fail as you are trying to cast a double type into a int type.

Hi,

Please make sure you are pointing to correct orchestrator folder. Please check the activity property.

image

Thank you.

Hi,
Thank you for your inputs. this is the sample I have taken from Uipath academy, there it is working fine, when I modified my queue name in the activity it stopped working.

When you are using Get Transaction Item activity, make sure the Queue with at least one transaction item is present in the orchestrator.

As mentioned earlier, don’t forget to mention the Folder Path Property.

For more insights, please refer the below,

https://docs.uipath.com/activities/docs/get-queue-item

Hope this will be useful.

Thank you.