FileNet P8 Connector 25.2
FileNet P8 Connector Help

# GetName

The `<GetName>` element stores the name of the current context field or attribute in a variable.

Attribute | Description
--- | ---
`var` | The name of the variable.

The following example stores the current field name and value in variables called "fieldName" and "fieldValue".

    <FieldStandardization>
        <Field nameRegex="startsWith.*">
            <GetName var="fieldName" />
            <GetValue var="fieldValue" />
        </Field>
    </FieldStandardization>

In this example the `<Field>` element uses a regular expression that could match multiple fields, so field standardization iterates over the list of matching fields (the variables only contain one field name or value at a time). This means that any operations that use the variables should be placed before the closing `</Field>` tag.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery FileNet P8 Connector 25.2

Topic Title: GetName