Process Object


Like a task, a process is a running instance of a program with which a particular set of output data may be tracked. This can be as simple as a small background process or as complex as a full-scale application. With the use of a Process object coupled with a Process agent, IT and business processes can be easily automated across various operating systems. The Process object is the main line of communication with remote Process agents. It can send commands directly to agents or send instructions as to which programs to initiate on the system where agents are installed, regardless of the operating system. For example, the Process object can run a process inside a UNIX-based system by simply sending a shell command to the agent.  

The Process agent is Java-based, therefore, the most common desktop operating systems are compatible, including Linux, Mac OS X, Microsoft Windows and Solaris. Similar to the concept with which the BPA server component communicates with remote agents, the Process object connects to a local or remote Process agent via TCP/IP. Once connection is established, commands can be sent to other operating systems, providing diversity and cross platform capabilities within the course of a workflow.

Related Topics  

To create a new process object from Server Management Console:

  1. Select Repository from the Navigation bar.
  2. From the Side panel of the Repository page, select the Processes folder (or any sub-folder you wish to create the process in) and click the New button on the Top panel.


Simply right-click the Processes folder, any sub-folder or anywhere inside the Main panel and select  New Process.

  1. Click the generic name of the process and enter a name.

To create a new process object from Workflow Designer:

  1. Drag the Process object icon from the Objects panel onto the main workspace. A new process icon with a default name of Unbuilt Process appears in the workspace.

  1. Click the default assigned name to rename the process.

  2. Double-click the process or right-click and select Edit to access its properties. An Edit Process dialog will appear as shown below.

  1. Under the Process Command parameter, enter the command to be sent.

  2. Under the Working Directory parameter, enter the working directory associated with the process. When the process refers to a file using a simple file name or relative path (as opposed to a file designated by a full path from a root directory), the reference is interpreted relative to the current working directory of the process. So for example a process with working directory /folder1 that asks to create the file textFile1.txt will end up creating the file /folder1/textFile1.txt.

  3. Under the Environment Variables parameter, enter the environment variables associated to the process. Environment variables are a set of dynamic named  values that can affect the way running processes will behave on a computer. For example, a running process can query the value of the TEMP environment variable to discover a suitable location to store temporary files, or the HOME or USERPROFILE variable to find the directory structure owned by the user running the process.

  4. The Running Context parameter determines the context in which to run the process. The available options are:

  5. Click OK to save the command and close the dialog window.

To add an existing process object to a workflow:

  1. From the WFD, click the Repository button located at the foot of the Available Objects pane. A Repository window will appear.

  2. Expand the Processes folder and drag the desired process to the workspace.

  3. Double-click the process or right-click and select Edit to edit the process.

Using AMProcess

When a Process Object is used within a workflow, a dataset called AMProcess is automatically created. This dataset can be used within an associated task to determine specific characteristics regarding the executed process (i.e. name, output, Agent name, etc.). For more details, see AMProcess.

p Back to Top