### loopMessage.instance Example Source: https://help.nintex.com/en-US/docgensf/Apex/loopMessage.htm Example of setting the Salesforce instance property. ```Apex loopMessage.instance = 'na5'; ``` -------------------------------- ### loopMessage.loopUrl Example Source: https://help.nintex.com/en-US/docgensf/Apex/loopMessage.htm Example description for setting the loopUrl property. ```Apex loopMessage.loopUrl = 'na1'; ``` -------------------------------- ### SOQL query with dot notation for lookup fields Source: https://help.nintex.com/en-US/docgensf/DocGenPackage/SOQLQueryRelationships.htm Use dot notation to get data through a lookup relationship. The example shows accessing fields from related objects. ```SOQL SELECT Account.Name, My_Object__r.My_Field__c FROM Contact WHERE ... ``` -------------------------------- ### SOQL query with inner query for table replication Source: https://help.nintex.com/en-US/docgensf/DocGenPackage/SOQLQueryRelationships.htm Use an inner query inside a SELECT to get table and row replication. This example creates a table for each Account and a row for each associated Opportunity. ```SOQL SELECT Name, (SELECT Name FROM Opportunities WHERE Region__c = '<>') FROM Account WHERE ParentAccountId = '<>' ``` -------------------------------- ### Define new attachment collection Source: https://help.nintex.com/en-US/docgensf/Apex/loopMessageRequest.htm Example showing how to initialize a new collection for the attachments property. ```apex loopMessageReqeusts.attachments = new List(); ``` -------------------------------- ### QueryRequestInfo constructor syntax Source: https://help.nintex.com/en-US/docgensf/Apex/QueryRequestInfo.htm Creates an instance of the QueryRequestInfo class. The constructor takes no parameters. ```apex QueryRequestInfo() ``` -------------------------------- ### FieldInfo constructor syntax Source: https://help.nintex.com/en-US/docgensf/Apex/FieldInfoClass.htm Syntax for creating a FieldInfo instance with the specified name and field type. Takes a String name and a Schema.DisplayType type. ```apex FieldInfo(String name, Schema.DisplayType type) ``` -------------------------------- ### loopMessageRequest.recordId property Source: https://help.nintex.com/en-US/docgensf/Apex/loopMessageRequest.htm Gets or sets the ID of the record. ```APIDOC ## loopMessageRequest.recordId property ### Description Gets or sets the ID of the record. ### Signature ``` String recordId ``` ### Property Value - **Type**: String - Required. This is the record ID. ### Remarks Set the **recordId** property in the constructor for the **loopMessageRequest** object. ```