After its completion the Terminate App Action retains data about the terminated process in dynamic variables.
The dynamic values can be retrieved by the means of Variable Wizard and used for automatic ad-hoc configuration of the next Actions, for example to output the list of PIDs or number of terminated instances.
|Executable||Full path and executable of the app or background process.|
|Process ID||One process identifier.|
|List of IDs||Whole list of process identifiers (PIDs) of the terminated instances.|
|Number of instances||Returns a value, how many program instances were killed.|
|Completion status||Retrieve Action execution status with a possible value—Successful or Failed; or Empty, if Action has not been executed yet.|
|Adjust()||Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name.|
Automatic list processing…
The Terminate App variables returned as lists (even multi-level) can be automatically processed in further Actions. Use the For Each Action to parse a given text string (any list variable) and sequentially retrieve its elements one by one · see list processing examples. Or, use the Split Text and Lookup Text Actions to access list elements by their indices.
If you have any questions, please do not hesitate to contact our support team.