Why is the $obj empty on a ROQL query used in a custom process?
Process Designer, Custom Process Model (CPM) / Service Process Model (SPM)
November 2012 version and newer
ROQL queries and the object event handler:
$obj-> should return the values for any changed fields
$obj->prev should contain all the values that were fetched before the object was updated.
On a create there is no "prev" data. $obj should contain values for all fields that were provided to the create.