Re Framework Orchestrator Queues using Perfomer

Hi Everybody

I try to Get transaction item form the Orchestrator and write the data in Excel file .

I using the Re Framework so i get error in the process i do like this but i do not know if this is correct way or what the correct solution can any one help me please

A

this is in the Add Data Row

{
item.SpecificContent(“Name”).ToString , item.SpecificContent(“Price”).ToString
}

Thanks

Hy @coder,

It looks like the variable in_TrasactionItem is not mapped or not have the correct data type, could you please hover the mouse over so I can have a look at the error message?

Regards,

Hi @William_Blech_Sister

this is the error massage

Error ERROR Validation Error Compiler error(s) encountered processing expression “in_TransactionItem”.
Option Strict On disallows implicit conversions from ‘UiPath.Core.QueueItem’ to ‘System.Collections.IEnumerable’. Process.xaml

1 Like

out_TransactionItem

This the output of the get Transaction item so i put the in_TransactionItem in the process

Hy @coder,

The error is the following:
Make sure that the variable type for the transaction item in the entire process is uipath.core.queueitem
Variables and in/out argument
In process workflow the type appears to be different.
Regards

Hi @William_Blech_Sister

All type is UiPath.Core.QueueItem’ and in the error tell me

Option Strict On disallows implicit conversions from ‘UiPath.Core.QueueItem’ to ‘System.Collections.IEnumerable’.

Hy @coder,

Could you share your workflow with me?!

Please check the data type in the process workflow. Print here

Regards

GetTransactionData.xaml (10.3 KB)
Process.xaml (12.5 KB)

@William_Blech_Sister can check that

The data type is QueueItem it is correct ?

Thanks

Hy @coder

To analyze an reframe work project I need to check on the variable flow among all components.
Could you please zip the entire project folder and send it here?
Thanks

Sure give me some time to upload

RoboticEnterpriseFramework2.zip (997.8 KB)

@William_Blech_Sister could you check the file please

Thank you for your help @William_Blech_Sister :innocent:

1 Like

Hy @coder,

I analysed your workflow and understood what you where trying to do.

image

In the For Each the item to be interrated needs to be a collection, like an array of strings, or files inside a folder. A Transaction Item is not a Collection object.

This looping you are trying to do is impossible in UiPath :frowning:
To get what you want you will need to extract each item of the queue like you mention in your first post:
item.SpecificContent(“Name”).ToString , item.SpecificContent(“Price”).ToString

Problem solved, you understood my answer please mark this question as solved.
Thanks

Thank you ; so I do not need to use the for each?

If it possible can you please share the soulation with me
Thank you

Hy @coder,

Use assign activity to fill your variables (example)
MyName =in_TransactionItem.SpecificContent(“Name”).ToString

Is it clear now?

Hi @William_Blech_Sister

Yes I try do that but in the write csv it is need data type so waht data type I put there ?

Because in the get transaction item there are no data type so I do not know what I can write in the data type of write csv

Thanks

Hy @coder, you are so close!

If the the input parameter needed for the write csv is a data table do the following

  • create a data table with the build data table activity
  • add data row to the data table (with all the variables extracted as I mentioned and my previous post)
  • use the write csv activity

Almost there, great work.

Regards

1 Like

Hy @William_Blech_Sister

Thank you i will try do that now :slight_smile:

1 Like

@William_Blech_Sister

i get only one value or row :slightly_frowning_face:

and when i add the for each i get error

what i can do ?

can you please try that and share the workflow with me or how i can solve that

Thanks

Process.xaml (10.0 KB)

@William_Blech_Sister could you please see what i do

it is only write the first row