Dear Ajay,
As of now there is no readly available component to satisfy your requirement. It would require lot of custom logic to achieve.
Hope my answer helps. Reach me out for any queries.
As far as I know this in also not on the backlog of Mendix. Workflow-platforms usually (always?) do not have that option for good reason. The creation of a workflow seems simple, but is only simple for workflows that are very basic. So basic that it is hardly worth the effort of creating it. And the biggest problem is changing an active workflow. That requires thought about what to do with workflow-objects that need to change state?