How to run groovy script from frontend recording?

Groovy script is not executing in frontend recording. How to run groovy script from frontend?

Hello @lakshmipriya_a.
Could you please provide more details? How do you call this script in recording? Do you use Custom action in Studio?