PhenixID

Write to Multiple Files

Version: 1.2

Category: Output

Extended Category: Files

Action Package: Standard Actions

Description

Write to multiple files based on a session attribute

Parameter

Description

Example

Directory to Add File Into:

[OPTIONAL] The directory to add file into. Leave blank for system tmp directory.

c:\data\files

Data to Write to File:

[MANDATORY] The data to write. Use SESSION(attrib) to add session data.

Exporting username SESSION(samaccountname)

File Name Prefix:

[OPTIONAL] Prefix of the file name.

-export-

File Extension:

[OPTIONAL] File extension that should be used (Def: .txt).

.log

Session Attribute for Switching File:

[MANDATORY] The session attribute that decides which file to write to.

adminDescription

Append to Existing Files:

[OPTIONAL] If the data should be appended to existing files (true) or if existing files should be deleted before writing to them (false). (Def: true).

false

Use Cases

Example 1: Create exports based on title

This action will extract samaccountname, title, givenname and sn to a separate txt-files. Each title will have it’s own txt-file.

Parameter

Value

Directory to Add File Into:

/var/exports

Data to Write to File:

SESSION(samaccountname),SESSION(title),SESSION(givenname),SESSION(sn)

File Name Suffix:

[BLANK]

File Extension:

[BLANK]

Session Attribute for Switching File:

title

Append to Existing Files:

[BLANK]


DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se