Hi @V V Satyanaray1 
Yes, you need to create new mid server script file.
If you're trying this using Flow Designer, I can help you with that, as I'm not familiar with Workflow.
Regards,
Siva