LAST_EXECUTION_IN_SCOPE_SOURCE_IDS

Description

Returns the source record IDs that were in scope in the last execution of an Executable.

inScopeSourceIds in the Batch Execution's Execution Log

Syntax

LAST_EXECUTION_IN_SCOPE_SOURCE_IDS(executable_api_name_optional) -> List<String>

Parameters

ParameterData TypeRequiredDescription
executable_api_name_optionalStringNoAPI name of the Executable to read from. If omitted, uses the current Executable's own last execution.

Examples

LAST_EXECUTION_IN_SCOPE_SOURCE_IDS()
-- Returns source IDs in scope in this Executable's last execution, e.g. (003DC00000ZEiTvYAL, 003DC00000ZEiTwYAL).
LAST_EXECUTION_IN_SCOPE_SOURCE_IDS("Account.Sync")
-- Returns source IDs in scope in Account.Sync's last execution, e.g. (001DC00000ZEiTvYAL, 001DC00000ZEiTwYAL).