Setting Dynamic Variable

Hi UIPath Community,

I am currently using an element exist action and I have 2 variable that contains a dynamic value depending on what UI element is detected. In the first captured element is detected the type of expired id is “PRC” and in the 2nd UI element, it detected that the Driver License is expired. How will I make this value dynamic?

UI Element 1
image

UI Element 2
image

Is this How I should make it any value regardless of what type of ID it is
UI Element 1 and UI Element 2
image

or I can simply do it like this so it will only check any expired ID.
image

Hi @VegitlX_HuNteR

Below will be the selector

<wnd aaname='Expired Client&apos;s ID:*'>

image

Mark as solution and like it :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

Should i include the dot and single qoute = .’

Hi @VegitlX_HuNteR

Below will be the selector

<wnd aaname='Expired Client&apos;s ID:*'>

image

Mark as solution and like it :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

1 Like

Thanks for your help it’s like 3 times you’ve been helping me :slight_smile:

Hi @VegitlX_HuNteR

Actually here in my 1st post only i have written correctly but after posting some things got invisible so i need to edit it multiple times. At last i again posted the same after your reply. :sweat_smile:

Yeah. No issue. Its my please.
i am glad that i can help you.

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.