With case activities, the Activity Create API seems to create a new revision of the activity. Is there a way of using the API to update a case activity without adding a new revision?
My code currently looks like this:
foreach ($acts as $act) {
$result = civicrm_api3('Activity', 'create', [
'return' => ["contact_id", "subject"],
'id' => $act['id'],
'custom_114' => $var1,
'custom_115' => $var2,
]);
}
I just want to overwrite the contents of custom_114 and custom_115 in each existing activity record, but it seems to create a new revision of each activity, containing the updated values.
API v3
CiviCRM v. 5.10.4
Joomla