Hi
We’ve created a Task under ‘email Table’ that will send email & document as an attachment to the Receiver email id when over email_status=’open’ in the Email table.
![](https://uploads-eu-west-1.insided.com/thinkwise-en/attachment/d342b4d0-c7e4-4672-90fa-947ee1de2855.jpg)
![](https://uploads-eu-west-1.insided.com/thinkwise-en/attachment/ebac612c-cd98-4573-9e33-8b8456d3b238.png)
When we Start that task to send email - In The process Flow Monitor 1st time the process action are Excutes in this way start_tab_task → decision → decision_attachment_to_disk → write_file,
After the write_file Process Action ,an infinite loop will run which always then Go to process action (decision_attachment_to_disk → write_file) from where the process flow Nevers Go to the Process Action SMTP_Connector.
![](https://uploads-eu-west-1.insided.com/thinkwise-en/attachment/0985d910-3c34-4038-ba6c-790355a7152e.png)
![](https://uploads-eu-west-1.insided.com/thinkwise-en/attachment/7b04c3aa-bd1b-429a-b958-f78b49aac459.png)
![](https://uploads-eu-west-1.insided.com/thinkwise-en/attachment/74d33418-4c50-4602-8fd7-da2ab3a191ae.png)
Need Some Suggestions from some expert who can help to complete this Task.
If this information is not sufficient ,Please free to reach me .
Regards,
Sujit