Jump to: navigation, search

OpenExternal (Activity)


The OpenExternal Activity opens an external document or executable file, also using optional arguments.

[edit]

Description

Open External
Name OpenExternal
Purpose Open an external document or executable file
Category UBIK File Primitives
Returns success of opening the file
Version 2.4+

Arguments

Argument Type Direction Purpose
FileName String In The path to the executable or the document file.
Arguments String In Additional arguments (optional, used to pass arguments for executable files).
WorkingDirectory String In Working directory (optional, used to specify a working directory for executable files). This value is only used in combination with executable files.
TimeOut Integer In Time out value in seconds (optional, to wait for a maximum amount of time for the invoked process to finish). Leaving this value empty or setting it to 0 means that the workflow continues execution immediately, otherwise the specified amount of seconds will be spent waiting for the process to finish.
Result Boolean Out true if process successfully finished, false if not

Usage

The activity is used to open file documents or executable files during the execution of a workflow. It can be used to open and show documents like Excel files, JPG pictures etc but also to execute a batch file if needed.

IC Attention.pngOpening any (proprietary) document type requires that a corresponding application is available on the machine, for example Microsoft Office for an Excel document.

See also