Slowness in method slowly

Hello,
I have big delays in invoke method.
to enter in invoke method I tike 1minute.
knowing that the variable In and Out are string and integer.
what is the solution ?

Hi @Ala_Abouda,

Do you have any interactive activities inside that workflow (clicks, types or any other activity with a selector)?

Best regards,
Filip

The fiston method ,Yes I have interactive with selector and click.
The second method I have interactive with excel

@Ala_Abouda,

Then maybe its something with one of the selectors at the beginning and the robot is waiting for an object to appear ??
Please try adding a log message right before the invoke and a second one as the first activity within the invoke just to verify the part which cases the delay … as to be honest its rather unlikely for UiPath to just wait before entering an invoke activity and if so then its a much bigger issue I think
Please check the above and let me know whats the outcome :slight_smile:

Best Regards,
Filip

I put a message at the beginning and always the same problem. in addition I have a problem of slowness with methods without selector

@Ala_Abouda,

what’s the time diff between first and second log message ?
can you please share your workflow :)? that would be much helpful for the issue evaluation

Best Regards,
Filip

The time is 50seconds.

you will find attached the method.

Thank youDt_Find_Pays.xaml (10.8 KB)

Hello,
I do not have a return. Thank you for helping me

Hello,
I do not have a return. Thank you for helping me

Hi @Ala_Abouda,

I’m sorry I did not get back to you sooner but unfortunately I did not have much time for “community” lately. Please run the attached workflow and pleas share the log (with timing)

Best Regards,
Filip

Dt_Find_Pays.xaml (14.2 KB)