Views:

Description

Creates a record in the database from an in-memory entity

Signature

CreateRecordFromEntity('entity') 

Example

SmartFlow(

  SetVar('Contact', 
    CreateEntity('contact',
      SetAttribute('firstname', 'Bill'),
      SetAttribute('lastname', 'gates'),
      SetAttribute('creditlimit', '5000'),
      SetAttribute('description', '?'),
      SetAttributeLookup('preferredsystemuserid',
        'systemuser',
        '670dd379c-ee2f-11db-8314-0800200c888')
    )
  ),

  CreateRecordFromEntity(GetVar('Contact')) 

)

Parameters

Name Type Description Required
key xxxx xxxx xxxx
defaultvalue xxxx xxxx xxxx