I have a workflow and that is scheduled. I have used DYNAMICE INPUT tool to import last updated file but the problem is sometime source data not updated due to technical issue and workflow run with previus day updatd file which is incorrect. I want a condition if file name ( workview reprot mm.dd.yyyy) if not found then workflow stop.
2 Options
@prpanw Take a look at the Message tool. You can create exactly what you are looking for. What you will do is create an error message in the tool based on your requirements as you mention after your Input Tool. So you'll have a second stream coming out of the Input tool. Then in your workflow configuration window (click on the canvas) in the Runtime settings you will see that you can cancel the workflow upon an error. This will then stop the workflow based on your message tool which is creating the error.
@prpanw i think you should add a filter tool before the dynamic tool to check the creation date of the file
if the date is today of no conditions are meet this will push no records further and this will stop.
you can use this method and even add a message tool if the sum of record is 0 this will flag a error message.
hope this help.
User | Count |
---|---|
52 | |
27 | |
25 | |
24 | |
21 |