Description |
Causes Workflow execution to pause at the current line until the specified process starts or ends. Commonly used to wait for an external application to start or end which could indicate that a process has completed successfully. If the process started/ended then the Workflow could move on. Most of the functionality contained in Wait for Process <AMWAITFORPROCESS> is also contained in the Run action <AMRUN>. This action should only need to be used if Automated Workflow is not responsible for starting the process, such as in cases where the external application or the user starts/ends the process. |
Declaration |
<AMWAITFORPROCESS ACTION="text [options]" PROCESS="text" PROCESSID="text" RESULTDATASET="text" /> |
Example |
<AMWAITFORPROCESS PROCESS="C:\Program Files\Internet Explorer\iexplore.exe" RESULTDATASET="ProcessDataset" /> <AMWAITFORPROCESS ACTION="end" PROCESSID="3932" RESULTDATASET="ProcessDataset" /> |
General Tab Parameters |
Action: Specifies whether the step should wait for the process to start or end.
Text [Options], Optional, Default: start Use process name: Specifies the executable of the process that Automated Workflow should wait for. Partial matches are allowed (either the full path or the EXE name only may be specified). (The process may be specified either by process name
or by process ID Text, Optional Use process ID: Specifies the process ID for the process that Automated Workflow should wait for. Text, Optional Create and populate dataset: Specifies the name of a dataset to be created and populated with process data. In addition to the standard dataset fields, the dataset will contain the following:
Text, Optional |