🧡 Skip to main content🔍 Skip to search

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.

VariableDetails
Executable Full path and executable of the app or background process.
Examples:
  • C:\Program Files\Company\MyApp.exe
  • D:\Windows\System32\example-program.exe
Process ID One process identifier.
Examples:
  • 17192
  • 19628
List of IDs Whole list of process identifiers (PIDs) of the terminated instances.
Examples:
  • 17192
  • 19628|7664|17928|12556|1644|19740|6664
Number of instances Returns a value, how many program instances were killed.
Examples:
  • 1
  • 7
Completion statusRetrieve 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.

Need assistance?

If you have any questions, please do not hesitate to contact our support team.