Access Opportunity Fields during Task Creation
Is it somehow possible to implement a process based on TASK creation, that accesses information on a related opportunity (if present)?
Is it somehow possible to implement a process based on TASK creation, that accesses information on a related opportunity (if present)?
In unit tests, is there a specific way of creating completed tasks so that they appear immediately in the ActivityHistory read-only object? (I have batch Apex that pulls data from ActivityHistory, so I’m trying to write the unit test.)