Changes to factory method to create process item event detail.