I’m a beginner in UiPath and I’m having a bit of trouble implementing 3 scenarios.
so it starts like this: on the web page, User puts a reference code e.g 1234APK in the search bar and then clicks search; one of 3 things are expected to happen -
To put this into perspective; The items in the dropdown change dynamically sometimes based on input value, if the ref code above (1234APK) gives cat, dog, rat in the dropdown for example, a different ref code; say 1245LKO may give fish, chicken, rat. Rule of thumb is always to choose ‘rat’. ‘Fish’ is always the secondary option.
Logic is: if ‘rat’ is present in dropdown, (irrespective of ‘fish’ being present or not) then ‘rat’ should always be chosen,
if ‘rat’ isn’t available, choose ‘fish’
else i.e. if ‘rat’ nor ‘fish’ isn’t found in the dynamic dropdown items, terminate process.
Not sure if I was able to convey this clearly but I would appreciate any form of help