Views:

Description

Creates a record from a related lookup (parent) record.

The function will return the guid of the created record.

Signature

CreateRecordFromParent('parentrecordentityname', 'parentrecordid', 'targetentityname' )

Example

Create a contact record from the current account record.

CreateRecordFromParent('account', [account.accountid], 'contact')

CreateRecordFromParent('account', 
                       [opportunity.customerid], 
                       'contact', 
                       SetAttribute('lastname', 'Super Cool' + UtcDateTime()), 
                       SetAttribute('description', 'North52') )

Parameters

Name Type Description Required
parentrecordentityname xxxx xxxx xxxx
parentrecordid xxxx xxxx xxxx
targetentityname xxxx xxxx xxxx