Hi All,
I have one scenario, where the bot needs to select options from a selection box,
the bot will first extract some info from one pdf and based on that info the bot will select one or more options from the selection box.
The bot can select one or more options based on the extracted info from pdf.
The selection box looks like this below
see, first the bot will extract data from pdf, the data can consist one option or two options or three options etc.
Based on that info, the bot will select one or more options,
I just want to know the logic behind it to choose the options, for example, if the text consists option 1 and option 2 then the bot will choose option1 and option 2.
So, is there any minimal way to build this logic ?
@Debartha_Mitra_DE
lets assume it is needed to extract all value from dropdown to check if the different options occurs in the extracted text, then we can do it with find children:
so a flow could look like:
find children - retrieve dropdown options
create a list of dropdown values e.g. yourFindChildrenOutpVar.Select(Function (x) x.Get("innertext").toString)).toList
iterate over the list of dropdown values e.g. with for each activity:
check if the dropdown value is contained within the extracted text: extractedTextVar.Contains(theDropDownValue)
if it is present select option as described above)
Hi,
thanks for your reply.
I tried but in the assign activity, while using the list of dropdown it threw error that “Assign: Attribute not supported by the current UiNode.”
In my case as you can see I can select multiple options from the dropdown,