
- Monitor folder for new files windows how to#
- Monitor folder for new files windows upgrade#
- Monitor folder for new files windows windows#
Monitor folder for new files windows windows#
In Windows Explorer, browse to the C:\Source folder. To increase the size of the Log pane, remove the Resource Browser pane by selecting View on the menu, and then clearing the Resource Browser option. In Runbook Tester, on the toolbar, click Step Over to start stepping through the runbook. On the toolbar above the Runbook Designer Design workspace, click Runbook Tester. In the Runbook Designer Design workspace, select the Monitor Runbook tab. In the C:\Source folder, create a file with a txt extension, for example text.txt.

Right-click Start to select Open Windows Explorer.Ĭreate a C:\Monitor folder on your computer.Ĭreate a C:\Source folder on your computer. Use the following steps to test your runbook in the Runbook Tester. You can run an entire runbook, step through it one activity at a time, or add breakpoints to stop the simulation at any activity that you select. In the Runbook Tester, you can test runbooks in a simulated runtime and debugging environment. Right-click the Monitor Runbook tab to select Check In. In the Monitor Runbook Properties dialog, click the Logging tab, and then select both Store Activity-specific Returned Data and Store Common Returned Data. In this sample, the Invoke Runbook activity is not configured.Ībove the Runbook Designer Design workspace, right-click the Monitor Runbook tab to select Properties. In the Message box, type the message to display in the Event log, for example, File Detected. This is typically the computer where you are running Runbook Designer. In the Computer box, type the name of the computer to receive the Event message. In the Send Event Log Message Properties dialog box, on the Details tab, in the Properties section, set the following: In the Runbook Designer Design workspace, double-click the Send Event Log Message. Select the Number of files is option, set the value in the list to greater than, and then type 0 in the edit box. This field accepts regular expression syntax. This setting directs the monitor to look for files with the txt extension. In the Relation list box, select Matches pattern. In the Filter Settings dialog box, set the following: On the Details tab, in the Path box, type the path of the folder you want to monitor, for example C:\Monitor. In the Name box, change the name of the activity to something informative, for example Monitor C:\Monitor Folder. In the Monitor Folder Properties dialog box, click the General tab. In the Runbook Designer Design workspace, double-click the Monitor Folder activity. In the Runbook Designer Design workspace, move your pointer over the right side of the Send Event Log Message activity to display the smart link arrow.Ĭlick the smart link arrow, and then drag it to the Invoke Runbook activity. In the Activities pane, click Runbook Control to expand the category, and then drag the Invoke Runbook activity into the Runbook Designer Design workspace, to the right of the Send Event Log Message activity. In the Runbook Designer Design workspace, move your pointer over the right side of the Monitor Folder activity to display the smart link arrow.Ĭlick the smart link arrow, and then drag it to the Send Event Log Message activity. In the Activities pane, click Notification to expand the category, and then drag the Send Event Log Message activity into the Runbook Designer Design workspace, to the right of the Monitor Folder activity. In the Activities pane, click File Management to expand the category, and then drag the Monitor Folder activity into the Runbook Designer Design workspace.

Type a name for the runbook, such as Monitor Runbook, and then press Enter. In the Confirm Check out dialog box, click Yes. Right-click the New Runbook tab to select Rename. In the Runbook Designer Connections pane, right-click the Runbooks folder to select New, and then click Runbook. The procedures to create, configure, and test a sample runbook that monitors a folder are described below. When a file is detected, the runbook sends an event log message, and then starts another runbook.
Monitor folder for new files windows how to#
This sample shows you how to create a simple runbook that monitors a folder for new text files.
Monitor folder for new files windows upgrade#
This version of Orchestrator has reached the end of support, we recommend you to upgrade to Orchestrator 2022.
