Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

The Inter Workflow profile enables you to configure the storage server that the Inter Workflow forwarding and collection agents use for communication. It is safe to accumulate a lot of data in the storage server directory. When the initial set of directories has been populated with a predefined number of files, new directories are automatically created to avoid problems with file system performance.

You can configure the Inter Workflow profile for the following storage types:

  • Database Storage

  • File Storage

The Inter Workflow profile is loaded when you start a workflow that depends on it. Changes to the profile become effective when you restart the workflow.

Note

Note!

Files collected by the Inter Workflow agent depend on and are connected with, the Inter Workflow profile in use. If an Inter Workflow profile is imported to the system, files left in the storage connected to the old profile will be unreachable.

Configuration

To create a new Inter Workflow profile configuration, click the Build → New Configuration in the upper part of the Desktop window, and then select Inter Workflow Profile from the menu.

Database storage.png

The contents of the menus in the menu bar may change depending on which configuration type is opened. The Inter Workflow profile uses the standard menu items and buttons that are visible for all configurations, and these are described in Build View (4.0).

The External References button in the menu bar is specific for Inter Workflow profile configurations.

Button

Description

external refernces button.pngImage Removed

External References

external refernces button.pngImage Added

Select this menu item to Enable External References in an agent profile field. For further information, see the section Enabling External References in an Agent Profile Field in  External Reference (4.0).

The Inter Workflow profile configuration contains the following settings:

panelIcon

Setting

Description

Storage Type

From the drop-down list, select either File Storage or Database Storage.

Using Database Storage means that a database will be used as storage instead of the EC file system. When choosing this option several new fields will be displayed.

Database Profile (applicable if the Storage Type is Database Storage)

Click Browse to select the Database Profile you want to use for the Inter Workflow Profile.

note

Note!

Currently, the SQL storage only supports PostgreSQL, SAP HANA, and Oracle databases.

Show SQL Statement (applicable if the Storage Type is Database Storage)

When you select Database Profile, this button will print the SQL statements needed to create the tables and indexes required for the Inter Workflow Profile. You can copy and paste this into your database management software.

Panel
panelIconIdatlassian-info
::#F4F5F7
Info
bgColor

Info!
You will have to copy the SQL script generated in the text box to create the PostgreSQL, SAP HANA, or Oracle tables on their own in the database listed in the Database profile. The Inter Workflow profile will not automatically create the tables for you.

Copy to Clipboard (applicable if the Storage Type is Database Storage)

This button will copy the text in the text area below, which was generated by the “Show SQL Statement” button, to the clipboard on your computer.

Root Directory (applicable if the Storage Type is File Storage)

The absolute pathname of the directory on the storage handler where the temporary files will be placed.

If this field is greyed out with a stated directory, it means that the directory path has been hard coded using the mz.present.interwf.storage.path property. This property is set to false by default.

Storage Host

From the drop-down list, select either Automatic or an activated EC group.Using Automatic means .

When using Database Storage type, the location of storage will always be the chosen database.

Info

The following only applies to Storage Type as File Storage.

Using Automatic means that the storage will use the EC Group where the first workflow accessing this profile is started. Following workflows using the same profile will use the same EC Group for storage until the first workflow accessing the profile is stopped. The EC Group where the next workflow accessing this profile is started will then be used for storage. The location of the storage will therefore vary depending on the start order of the workflows.

Info

Example

Below is an example of a scenario where Automatic is used as a storage host with the following setup:

  • Workflow 1 is running on EC Group 1 with Interworkflow Forwarding agent

  • Workflow 2 is running on EC Group 2 with Interworkflow Collection agent
     

  1. Workflow 2 is started.

    EC Group 2 is used for storage
     

  2. Workflow 1 is started.

    EC Group 2 is still used for storage.
     

  3. Workflow 1 is stopped.

    EC Group 2 is still used for storage.
     

  4. Workflow 2 is stopped.

    No EC Group is used for storage.
     

  5. Workflow 1 is started.

    EC Group 1 is used for storage.

note

Note!

The workflow must be running on the same EC as its storage resides. If the storage is configured to

be  Automatic

be Automatic, its corresponding directory must be a shared file system between all the EC Groups.

Max Bytes

An optional parameter stating the limit of the space consumed by the files stored in the Root Directory or Database. If the limit is reached, any Inter Workflow forwarding agent using this profile will abort.

Max Batches

An optional parameter stating the maximum number of batches stored in the Root Directory or Database. If the limit is reached, any Inter Workflow forwarding agent using this profile will abort.

Compress intermediate data

Select this checkbox if you want to compress the data sent between the Inter Workflow agents.

The data will be compressed into *.gzip format with compression level 5.

Named MIMs

A list of user-defined MIM names. These variables do not have any values assigned. They are populated with existing MIM values from the Inter Workflow forwarding agent. This way, MIMs from the forwarding workflow can be passed on to the collecting workflow.

...