In my process I received input file by mail.
But some times it will receive later after 1hour or 2 hr. But some time after 2 to 5 min from correct time Also we received.
Here how we can set correct logic? I implemented like, bot check mail if input is not received means I throw business exception and send mail no input received.
But I need logic when ever we received mail bot need to run. Or any other logic also please let me know
You can use Integration Services and create a connector for your mailbox. Once you have the connector created, you can add triggers and can monitor emails. So whenever a new email arrives (you can also apply filters for incoming emails), you can have your automation triggered. Attaching docs link here :