Hi All,
Discussion posts and replies are publicly visible
Hi Pragya,
As of now, you can't do it in said way. You have to make "public void" your functions to be visible in the workflow.
Regards,
Mukesh