Mounting Profile as Subnode in Destination Structure

You can use the context menu on a node of the destination structure to insert an existing profile as a subnode in the destination structure.

Requirements for a Profile to Be Mounted (if with time-driven Input Agent)


Requirements for a Profile to Be Mounted (if without time-driven Input Agent)


(Note: Internally, the following steps are performed to get an analogous behaviour to the first case. The profile is cloned, the Integration Unit PrepareDataForCallingProfile is set, parameter Starting node is filled with the starting node of the originally set Integration Unit and, if necessary, the Response Route PassBackBinaryDataResponse is appended. After the call, the clone is discarded.)

Mounting a Profile


Let us assume we have a profile named Contacts that meets all the requirements above. This profile has the following destination structure.


images/download/thumbnails/44927191/Einhaengeprofil_2_EN-version-1-modificationdate-1569891926172-api-v2.png


Please do not forget to specify the starting node of profile Contacts in its Integration Unit (1). The (partial) structure starting from this node will be mounted later.


images/download/attachments/44927191/Einhaengeprofil_4_EN-version-1-modificationdate-1569891926178-api-v2.png


We now want to mount profile Contacts as a subnode in the following destination structure.


images/download/attachments/44927191/Einhaengeprofil_1_EN-version-1-modificationdate-1569891926163-api-v2.png


The result looks like this. Please pay attention to the automatically set functions. Except for one spot, you normally do not have to touch these functions.


images/download/thumbnails/44927191/Einhaengeprofil_3_EN-version-1-modificationdate-1569891926176-api-v2.png


(2) Here the function call sub profile (a,b,c) is called. Parameter a specifies the name of the mounted profile. You can use parameter b to start the time-driven Input Agent of the mounted profile (if available), otherwise, you have to explicitly specify the input data for the mounted profile in parameter c.


images/download/thumbnails/44927191/Einhaengeprofil_5_EN-version-1-modificationdate-1569891926179-api-v2.png


(3) Here the function extract result data of sub profile(nodename a) is used to link to the node of the mounted profile (theoretically you could rename the node here). So Contact_details-> Contact_details.

(4) Here the function extract result data of sub profile(field a) is used to link to the respective fields of the mounted profile (theoretically you could rename the fields here). So Landline-> Landline, Mobile -> Mobile and Email -> Email.

Note about Mappings with Mounted Profiles


As shown in section Mapping - Filling a Record of the Destination Tree, data is filled into the destination tree from top to bottom. Although this also applies to the entire subnode that is mounted here, all the data within the subnode is instantly available. So you could already access the value of field Email in field Landline, to stay in our example.

Passed Variables


All variables are passed as MSG_CALL_ variables (just like in Response Routes of type Message).