| AppContext |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- Context in which the macro was run. Possible values are:
-
Aloha—Salesforce Classic
-
Lightning—Lightning Experience
- Unknown
|
| ConditionCount |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- Number of conditional instructions contained in the macro at execution.
|
| ContextRecord |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- ID of the record on which the macro was run.
|
| DurationInMs |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- The execution time, in milliseconds, for the macro.
|
| ExecutedInstructionCount |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- The number of macro instructions that ran successfully. If the macro completed successfully, this value is the same as
InstructionCount.
|
| ExecutionEndTime |
- Type
- dateTime
- Properties
- Filter, Nillable, Sort
- Description
- The time at which macro execution completed.
|
| ExecutionState |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- The end state of macro execution. Possible values are
|
| FailureReason |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort
- Description
- If ExecutionState is failure, this field stores the reason for the failure. Possible values are:
- ACCESS
- GENERIC
- TIMEOUT
- UNSUPPORTED
|
| FolderId |
- Type
- reference
- Properties
- Filter, Group, Nillable, Sort
- Description
- ID of the folder containing the macro at the time it was used.
|
| InstructionCount |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- The number of instructions in the macro at the start of execution.
|
| IsFromBulk |
- Type
- boolean
- Properties
- Defaulted on create, Filter, Group, Sort
- Description
- If true, the macro was run as a bulk macro. When a bulk macro is run on multiple records, usage is recorded per record.
|
| MacroID |
- Type
- reference
- Properties
- Filter, Group, Sort
- Description
- ID of the macro.
|
| Name |
- Type
- string
- Properties
- Filter, Group, idLookup, Sort
- Description
- Name of the macro.
|
| OwnerId |
- Type
- reference
- Properties
- Filter, Group, Sort
- Description
- ID of the group or user that owns the macro.
|
| UserId |
- Type
- reference
- Properties
- Filter, Group, Nillable, Sort
- Description
- ID of the user that ran the macro.
|