Click Text activity doesn't work when invoking workflow

I created a simple workflow with the Click Text activity and it worked fine. I extracted it as a workflow and then tried to invoke it. It doesn’t work saying it can’t find the text. All settings are the same, all values are the same, literally everything is the same except that I invoke it. Does anyone have an idea what’s going on?

Hey @MGMKLML

Do you see any arguments when clicking “import arguments” of the invoke workflow activity?

@Rishabh_Lakhera, Yes and I pass values to them

Can you post a screenshot of the error?

@Rishabh_Lakhera, Sure, here it isError

Did you try indicating the element again?

@Rishabh_Lakhera, Yes, I tried to put the selector directly to the activity, same with the text. The result is the same. If you run it separately it works. If you involve it, it doesn’t.