Create Relationship operation

Creates a relationship between two documents that are present in a IBM FileNet repository.

For information about the General and Route Evaluation property groups, see Common operation properties .

Login Settings properties

Login settings for invoking the Content Repository Connector for IBM FileNet service.

Login Mode

A com.adobe.livecycle.ibmfilenetcontentrepositoryconnector.client.type.impl.LoginSettings value that represents how the operation will log in to the FileNet repository. Valid values are INVOCATION_CONTEXT (Use Credentials from process context), USER_CREDENTIALS (Use User Credentials), and TOKEN (Use FileNet Credentials Token).

Use Credentials from process context:
Uses the AEM forms User Management credential from the process context for the FileNet authentication.

Use User Credentials:
Uses the User Name and Password properties to authenticate with FileNet. Ensure that the user name is valid for the FileNet P8 Content Engine that is specified in administration console.

Use FileNet Credentials Token:
Uses the FileNet Credentials Token property to authenticate with the FileNet Content Engine. This login token must be valid in the current FileNet session.

User Name

A string value that specifies the account name to use when connecting to the FileNet object store.

This field is used only when the Login Mode property is set to USER_CREDENTIALS (Use User Credentials) or TOKEN (Use FileNet Credentials Token).

Password

A string value that specifies the password that is associated with the account name that is specified in the User Name property to use when connecting to the FileNet object store.

This field is used only when the Login Mode property is set to USER_CREDENTIALS (Use User Credentials).

FileNet Credentials Token

A string value that represents the location of an existing FileNet credentials token.

This field is used only when the Login Mode property is set to TOKEN (Use FileNet Credentials Token).

Relationship Creation Settings properties

Specifies the properties for the relationship you want to establish.

Object Store

A string value that represents the name of the IBM FileNet repository. You can choose from the list of available object stores from your current FileNet Content Engine defined in administration console. (See AEM forms administration help.)

Relationship Type

A string value that specifies the type of relationship to create between the head document and the tail document.

Head Document GUID Or Path

A string value that indicates either the head document GUID or the folder location within the object store where the head document exists.

If you provide a literal value, type the path or click Browse to select the folder from the IBM FileNet repository.

When typing the folder path, use the following rules:

  • Do not include the object store name in the folder path.

  • Use a forward slash(/) to separate folder names if you specify a folder location, as shown in this example:

    /[FolderPath]/[documentName]

Tail Document GUID Or Path

A string value that indicates either the tail document GUID number or the folder location within the object store where the tail document exists.

If you provide a literal value, type the path or click Browse to select the folder from the IBM FileNet repository.

When typing the folder path, use the following rules:

  • Do not include the object store name in the folder path.

  • Use a forward slash (/) to separate folder names if you specify a folder location, as shown in this example:

    /[FolderPath]/[documentName]

Meta-Data properties

Metadata properties for the documents.

Property Mapping Table

Map the document attributes to process variables in the given table. While creating or updating the document in the FileNet object store, the mapped document attributes are set on the document. If you leave an attribute value blank, the current value of that attribute in the repository is maintained. To clear the value of an attribute, map the attribute to "" (empty string).

Exceptions properties

This operation can throw a RepositoryException exception.

// Ethnio survey code removed