Hi @Harika21,
Please search in the forum, because lots of this type of post is already there.
Reference:
Add your logic and set it.
Thank You!