Problem With Modern Application activities

Hello, Everyone.

In my project I have used modern application activities using some of the activities like type into, click elements. But, now my process is splitted into different sequences. And I am invoking all these sequences in my main.xaml

So, now I have an error in some of these sequences to use these activities within use application/browser activity, but when I use this activity and indicate the target application. It refreshes the page everytime.

Can someone please give any solution to this problem?

Thank you.

check the options:
grafik

and set to the needed behaviour e.g. never when app is already open and needs to be reattached

@vinni_s1 ,

Please change properties close to never and the open if not open

Hello @naveen.s

I have marked the open and close properties as you suggested. But, I still have an error saying value of type string cannot be converted to UiPath.core.uiElement.

then please share with us some more details like card settings, variables…

Please share the screenshots

As you can see in the uploaded image, this is my second sequence. In the first sequence I am using use application browser activity where I have mentioned the browser url, in my second sequence I am mentioning something like this “*” as I don’t want the same url to be opened again. But here is where I encounter the problem.

Hi @vinni_s1

Remove the * from that field and also in the properties panel of Use Application/Browser activity keep the close → Never
open → Never
Also make sure to change the selectors of the use application/browser activity which will be present in the Unified Application Target. So whatever you feel like changing in selector’s please replace them with *

Regards

you configured a wildcard string, but as mentioned a variable of DataType UiElement is expected

Option 1

  • return from first USE APP… the output element and pass it to next USE APP as input element

Option 2:

  • wire USE APP to the Application within the state the USE APP would expect and post edit some settings e.g. open/close options…

Use only 1 Use Application/ browser and Please change these **properties
close to never
the open if not open.

So the same browser will not open again

or use url instead of star(*), then in properties section under Open–> select the option open if not open