Hi @Kapil_Kuriakose
This will give you an idea.
Key points
- Uniquely name your Assign activities and save in a separate workflow
- Invoke your workflow, wrap it with Try Catch.
You can display your error message with the Exception.Source.
Hope this helps! 