Please refer the following thread posted today itself. You might customized your solution based on the following thread.