Want to retrieve next case id


#1

Hi everyone,

I have some 388 case ids in an application and want to go through all the case ids one by one. i.e by clicking a case id and editing some information and again clicking on an another case id. Could you please provide any idea.

It will like

Case id
1123344
3211233
1231234
1231233
1231231
1231231

I need to click on each case id which is open.

Thanks,
Ulaga


#2

You can try and extract all the Case IDs and put them in a list then loop through the list to click each one.

Regards,

Tim


#4

Hi,

There are ID-s that are the same, so you should put idx in your selector, not only the aaname property. So extract the datatable. Use For Each Row activity, and for the Click activity inside it, use a string variable as Selector. Put the items selector in that variable, and the index that is changing could be another variable, that is changing in the For Each.

Example:

Assign Index=0 at the beginning
For each ROW in ExtractedDT
Index=Index+1
Assign Selector= … (here comes the selector that contains the variable Index and ROW.Item(“Case id”) as well - if needed)
Click Selector=Selector


#5

Hi everyone,
I am not able to extract it as data table and trying to retrieving the case ids from sales force tool. Please find how it looks in web in the following web page. If anyone could provide xaml file about retrieving the case ids it would be great help.

Thanks,
Ula!


#6

in live it is displaying some hundreds of case ids. i need to retrieve each case id agains it status and work it out. If xaml file provided it would be of great help for me. Thank you again.


#7

What do you get if you try to find selectors with UiExplorer?


#8

It says the aaname = 00001008. I changed the aaname =* but it clicks on only first case id and not looping to the next one.


#9

Just check my solution with a random wikipedia page. The logic has to solve your problem.
Main.xaml (13.3 KB)


#10

I checked the data scrapping but it does not take all the case ids listed. just taking the first one. Is there any other alternative.

Thanks,
Ula


#11

Hi @dna. Thank you very much, It gave me an idea how to complete my task. I have an another doubt i.e how to read enum index from the for each activity. i am able to see all the items in the enum but want to save second and fifth index to a variable.


#12

@TimK Thank you for your idea and it helped me a lot


#13

@balupad14
hi bala

Could you please help me on this.

Thanks,
ulaga


#14

HI @Ula,

I hope that you have the case ids in the datatable . as usual have to use the for loop. But to edit the information you have to use the invoke workflow activity . Mean the create new workflow like editInfor.xaml. You have to send the parameter the case id to the flow. Use attach window . if possible share the xmal in the form or message.

Already I have implemented this concept in the below

Regards
Balamurugan.S


#15

No problem, what are you able to extract from the website?

You could build the selector and give the aaname=item.ToString


#16

@TimK

Hi I used find children activity and able to extract the info I need. Could you please let me know how to get the particular enum value I need from the for each loop. I have attached the screenshot in the same post.

Thanks,
Ulaga.