Description |
Executes the steps immediately following this step if the specified process is in the specified state. Otherwise, step execution follows the next Else step or End If step. Wildcards can be used to specify the process to look for. Optionally populates a dataset with the process and window data for a running process. Used to check if a process is running and take conditional action depending on the result. |
Declaration |
<AMIF PROCESS="text" PROCESSID="text" RESULTDATASET="text"> </AMIF> |
Examples |
<AMIF ACTION="end" PROCESS="C:\Program Files\Internet Explorer\iexplore.exe" RESULTDATASET="ProcessDataset"> <AMSPEAK ENGINE="automatic">Process is not running</AMSPEAK> <AMELSE /> <AMSPEAK ENGINE="automatic">Process is running</AMSPEAK> </AMIF> |
General Tab Parameters |
If Process is running/Process is not running: Specifies the type of check to be performed.
Text, Optional, Default: open Use process name: Specifies the executable of the process that Automated Workflow should look for. Partial matches are allowed (either the full path or the EXE name only may be specified). Text, Optional Use process ID: Specifies the process ID for the process that Automated Workflow should look for. Text, Optional Create and populate dataset: Specifies the name of a dataset to be created and populated with process data for a running process. In addition to the standard dataset fields, the dataset will contain the following:
Text, Optional |