Hi,
Please refer the below forum link you could find one example from our UiPath developers community.
Regards, Kirankumar.