This page explains the Filesystem Adapter in Bridge context. If you were looking for the same information regarding the PAS Designer, refer to Filesystem Adapter in the Designer guide.

Parameters of Action "createDirectory"

NameTypeDirectionDescription
nameStringin

Fully qualified file name of the directory you want to create, including the path.

When using the Windows style with backward slashes "\" you have to be aware that you have escape this character. The escape character is also the "\".
To avoid this, use forward slashes with Windows as well.

Defining a "createDirectory" Action

To create a directory with the file system adapter, you need to define a createDirectory action on an action having the stereotype <<FileSystemAdapter>>.  You can do this manually (refer to Figure: The Specification Dialog of the File System Adapter) or with the help of the E2E Action Wizard (see context menu of the action node).

Figure: Creation of a Directory

The directory path of the new directory is defined in the component diagram. The link from the activity diagram to the physical information is established by an alias (in the present example: DirectoryAlias). See File System Components for more information on file system aliases.
For information on how to access a file or directory dynamically refer to Dynamic File System Access.

If the directory already exists, no error will be reported. Neither the already created directory nor the stored data will be affected by the createDirectory action in this case.

On this Page:
Related Pages:
  • No labels