Hi @Shweta,
I think what you’re describing is an External Task Form. You can read how to create them here: User Task Forms | docs.camunda.org
Additionally, there’s a forum topic related to your problem, that I think it will help you:
Have you managed to solve your problem with the above information?
Best,
Nikola