Remove Item from list - remove unnecessary item from the list (Power Automate Desktop) - power-automate-desktop

Currently i'm on project scraping a data from website. The data is not a text or numeric value but it contains canvas element produced number phone as canvas image. My first method to scrape this data i'm using OCR Text Recognition in Power Automate Desktop which collect all text specifically from the webpage coordinates. I'm able to get the number, but it also scrapped unnecessary number and text from the coordinates. So i'm filter it using Recognize Entities In Text action in PDA(Power Automate Desktop) and able to filter the number phone.
But the problem is, when im running the action it will add new phone number to the new rows and also produced unnecessary number which is 000000 in the item list row.I tried to get rid of the unnecessary number by using remove item from the list action and it get rid of it. But it also remove my other item which is NULLED to differentiate which product does not contains phone number from the list.
I want the list result write to excel file, without removing NULLED from the list only remove 00000 from the list.So the list will be transfer to excel row by row

Related

IMPORTRANGE + extra column does not behave as table

I am creating a sheet for our homebrew RPG.
I'm importing a range of data (spell list) in the character sheet, via IMPORTRANGE.
I'm using a True/False checkbox to add the line to a table in another sheet.
=IFERROR(QUERY(DataSorts!$A$3:$Q$1001;"select " &IF($E$15;"C";"B")& " where (A=TRUE)");"")
I want to use the imported datas as a table WITH the checkboxes column, so my players could filter or classify their data. The checkboxes need not to be on the original spell list so any player could have their own selected ones.
I need to Import the data as the original spell list is expanding and I need to update it regularly.
However, if I update my original sheet comporting the speel list, any add or substract of row will break the checkbox usage (because they wont move where the imported data will, thus the spells selected won't stay the same).
How can I link these 2 parameters ?
Use an index to keep the order in the imported data SS, and then perform the combined VLOOKUP+IMPORTRANGE.

Filter Function affecting other rows

Have been using Google Sheets' Filter formula
FILTER(range, condition1, [condition2, ...])
to copy rows with specified value .i.e. 'Approved' in the Master Sheet onto another sheet, Approved List.
However, once I edit any value in Approved List, the entire sheet returns an error.
How can I overcome this?
I've actually created a free google addon that can move data from one google sheet to another. It can easily filter out rows based on a certain condition. I'd be happy to set it up for you if you share a spreadsheet with me that I can use to show you how to set up the report. Otherwise, you could also create the filter exactly how you did, but then copy all of the values and then select Edit -> Paste special -> Paste Values only. From then you could edit it. However, this only works if you are editing once instead of needing to continuously receive new data. My addon is able to allow you to edit as well as get new updates from the filter. Message me if you have any more questions!

Siri Shortcuts how do I sequence the results from JSON in a Siri Shortcut?

I'm using the ptv api call for departures and can successfully return back three results. I'm trying to get Siri to dictate these to me in order but am not having much luck.
When the api is called it returns a bunch of information in an array for however many services you specify (three in my case), but I only want one of the lines to be dictated (scheduled_departure_utc), not the full array.
And I want to pull just this one line out of each of the three blobs of data that are returned so that Siri says...
the next trains to the city are (scheduled_departure_utc),(scheduled_departure_utc),(scheduled_departure_utc). Where (scheduled_departure_utc) is a short form of time (8:28am, 8:38am, 8:58am) as an example.
Any ideas?

How to get the all the recyclerView Items into ArrayList using appium

I have a scenario to verify the Sort&Filter functionality for Mobile App in Android.
Scenario:
Search for Item
Search Result Apper
Sort&Filter with some criteria
Have to Verify that Sort&Filter is applied correctly
Here results are added to RecyclerView.
As per RecyclerView/appium functionality, all the items are not loaded into view. Only visible Items are loaded into the view Hierarchy.
When I scroll Up the Linear Layout Indexes are re-arranged. I could not able to get all the Items.
Could you kindly provide me any sample scenario of this kind?
Or How can we achieve this kind of scenarios in Real Automation while working on the project?
Regards,
Shiva Oleti
Issue with Android as You stated is that it "sees" only what is visible on screen. I have similar issue, so I had to go deeper into element and fetch text. In your case I would do following:
1. Search Result Appear:
- fetch all visible elements, input search, fetch again -n results containing search result. Eg. if input 'beer' there should be eg. 4 elements with text containing "beer". Put elements in list and iterate:
List <MobileElement> listElements = driver.findElements(By.id("someId"));
for(MobileElement el : listElements){
if(el.getText().equalsIgnoreCase(expected)){
// do some validation //
}
}
Search Result Appear:
input exact value that will return unique, one result so You can easily count.
Sort&Filter with some criteria
remember initial values in items (text like 'Budweiser beer'), do some filtering / sorting, and check text in first element if is changed and if correct logic is applied (eg. sort desc.)
Have to Verify that Sort&Filter is applied correctly
think I answered in 3.
Basically:
'pick' text from items store them,
do some action (search, sort, filter),
'pick' newly changed items caused by 2. step, store them,
compare (depending on what You need...),
To get all items you have to swipe and store them in list.

blackberry reading a text file and updating after sort

I am successfully able to read and print the contents of a text file. My text file contains 5 data entries such as
Rashmi 120
Prema 900
It must sort only the integers in descending order and swap the respective names attached to them. the first column of serial number must remain the same. Each time a new entry is made that score must be compared to the existing 5 records and placed accordingly with new name and score.
Since this is blackberry programming and blackberry APIs don't support Collections.sort,please tell me how do I do this. I tried using SimpleSortingVector but I am unable to put it into coding form.
i believe u need to start with your own logic like
1) sorting depends on comparison
2) before making any comparison u need to split each string by spaces
3) after splitting save the name and numbers in different arrays
4) compare the numbers and accordingly do sorting
5) after this merge the array contents using indexing
m just giving u a way may be its not the perfect but drilling down may refine logics and usage of the api

Resources