I’ve seen a few posts that are similar, but don’t have exactly what I’m seeking. My bot is being set up to add user information into a bank. Since we host a dynamic list of banks, I’d like the user running the bot to choose which bank needs the update from the dropdown. My thought process was to use a get attribute, save the items as a list variable then do a for each and define each item from the list into individual strings. Struggling to figure out what I should do within the for each loop to allow for each bank to be defined individually to then add to an input dialog to allow for a multiple choice input type. Thoughts?
Are you trying to get all the values from dropdown and display them in an input dialog box for selection?
If ao…instead of loop join the items with semi column and pass it to the input dialog box which will display the items as dropdown and the end user can select
Get the selection and then pass the selection to select item activity if that works else if the dropdown does not support select item then use click on the dropdown then loop inside that check app state to check if required value is visible…if yes click and break loop else scroll
Cheers
Yes, that would work. How would I go about having it join the items with a ; to allow for it to be placed in input dialog?
How areyou getting the items from get attribute? Is it a string with space searation ?
If yes then use str.Replace(" ",";")
If it is array of items String.Join(";",Arrayvariable)
Cheers
I am using items so it is showing up as XX-ABC, XX-DEF, etc.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.