Views:

Description

Executes an Action.

Signature

ExecuteAction(
  'actionname',
  'entitylogicalname',
  'recordid',
  'param1',
  'param2',
  'param3'
)

Note : to execute a Global Action, leave entitylogicalname and recordid as empty strings

Example 1

ExecuteAction(
  'new_approve',
  'opportunity',
  [opportunity.opportunityid],
  SetAttributeActionLookup('emailto',
    'EntityReference', 
    'systemuser',
    '77dd379c-ee2f-11db-8314-0800200c9a55'
  ),
  SetAttributeAction('creditlimit', 'Money', '1000')
)


Example 2

ExecuteAction(
  'new_Global_approve',
  '',
  '',
  SetAttributeActionLookup('emailto', 
    'EntityReference', 
    'systemuser',
    '77dd379c-ee2f-11db-8314-0800200c9a55'
  ),
  SetAttributeAction('creditlimit', 'Money', '1000')
)

Parameters

Name Type Description Required
actionname xxxx xxxx xxxx
entitylogicalname xxxx xxxx xxxx
recordid xxxx xxxx xxxx
param1 xxxx xxxx xxxx
param2 xxxx xxxx xxxx
param3 xxxx xxxx xxxx