Views:

Description

Returns the number of records specified by the input parameters.

Signature

FindCount(
  'entitylogicalname',
  'inputfieldname',
  'inputfieldvalue',
  'outputfieldname',
  'defaultvalue', 
  'nolock',
  'noagg'
)

Note: The 'nolock' and 'noagg' parameters are optional

Example

FindCount(
  'opportunity',
  'customerid',
  [account.accountid],
  'estimatedvalue',
  '0', 
  false, 
  false
)

e.g. Returns the count of all opportunities for a customer.

Parameters

Name Type Description Required
entitylogicalname xxxx xxxx xxxx
inputfieldname xxxx xxxx xxxx
inputfieldvalue xxxx xxxx xxxx
outputfieldname xxxx xxxx xxxx
defaultvalue xxxx xxxx xxxx