Changes between Version 1 and Version 2
The following changes have been made for event subscriptions Version 2:
General changes
Affected fields | Version 1 (Previous behavior) | Version 2 (Change) | Remediation action |
---|---|---|---|
Calculated parameter values | Any object created from a template that included a custom form with calculated parameter values, a CREATE event would be sent, and then an UPDATE would be sent with the parameter values (including calculated fields and their values). | When an object is created from a template that includes a custom form with calculated parameter values, only a CREATE event will be sent and will contain parameter values including calculated fields. | If you have a subscription for UPDATE events and are expecting to receive an UPDATE event after an object is created with calculated parameter values, you will no longer receive that UPDATE event. If you wish to see calculated parameter values on object creation, you must create an additional CREATE subscription. |
Multi-Select type fields |
For any type of event that contains a change on a multi-select type field, if the field only contained one value it would be converted to and sent as a string. Otherwise it would be sent as an array. Examples:
|
Regardless of how many values are in the array, it will be sent as an array. Examples:
| If you have a subscription with a filter on a multi-select field, and the value as a string, you must create a new subscription with the same filter that has the value as an array. |
Object specific changes
Object code | Affected fields | Version 1 (Previous behavior) | Version 2 (Change) | Remediation action |
---|---|---|---|---|
ASSGN |
| When this object was updated, the UPDATE event sometimes incorrectly showed the affected fields change from null to ID value . | All UPDATE events show the correct value for the affected fields. | None. If you have a filter on the affected fields, you receive an UPDATE event only if these fields have actually changed, not if any other value has changed. |
DOCU |
| When any parameter value was updated on this object, the UPDATE event incorrectly showed the affected field change from null to object id . | All UPDATE events show the correct value for the affected fields. | None. If you have a filter on the affected fields, you receive an UPDATE event only if these fields have actually changed, not if any other value has changed. |
| When a document was deleted, the DELETE event incorrectly showed the affected field as an empty array in the before state. | The DELETE event correctly shows the affected field in the before state. | None. The DELETE event will still be sent but now show correct data for the affected field. | |
DOCV |
| When this object was updated, two UPDATE events would be sent. The first one did not include the affected fields while the second event did. | All field updates including the affected fields are present in only one UPDATE event, and a second unnecessary event is not sent. | None. If you have a filter on the affected fields, the events are delivered in the first event. |
EXPNS |
| When any parameter value was updated on an Expense, the UPDATE event incorrectly showed topReferenceObjCode change from EXPNS to PROJ , and referenceObjectName change from null to string value of project name . | All UPDATE events show the correct value for the affected fields. | None. If you have a filter on the affected fields, you receive an UPDATE event only if these fields have actually changed, not if any other value has changed. |
| When an Expense object was deleted, an UPDATE event was sent changing the affected fields to null before the DELETE event was sent. | The extra UPDATE event is not sent. The DELETE event has correct values for the affected fields in the before state. | If you have a filter for the affected fields on UPDATE events and are expecting to receive it when the object is deleted, you no longer receive that UPDATE event. If you wish to see these fields when the object is deleted, you must create an additional DELETE subscription. | |
HOUR |
| When this object was deleted, the DELETE event incorrectly showed the affected fields as null in the before state. | The DELETE event correctly shows the affected fields in the before state. | None. The DELETE event is still sent, but now shows correct data for the affected fields. |
OPTASK |
| When any parameter value was updated on this object, the UPDATE event incorrectly showed the affected field change from null to ID value . | All UPDATE events show the correct value for the affected field. | None. If you have a filter on the affected field, you receive an UPDATE event only if that field has actually changed, not if any other parameter value has changed. |
| When this object was updated, the UPDATE event sometimes incorrectly showed the affected fields change from null to ID value . | All UPDATE events will show the correct value for the affected fields. | ||
PROJ |
| When any parameter value was updated on this object, the UPDATE event incorrectly showed the affected field change from null to ID value . | All UPDATE events show the correct value for the affected field. | None. If you have a filter on the affected field, you receive an UPDATE event only if that field has actually changed, not if any other parameter value has changed. |
| When this object was updated, the UPDATE event sometimes incorrectly showed the affected fields change from null to ID value . | All UPDATE events show the correct value for the affected field. | None. If you have a filter on the affected field, you receive an UPDATE event only if that field has actually changed, not if any other parameter value has changed. | |
TASK |
| When any parameter value was updated on this object, the UPDATE event incorrectly showed the affected field change from null to ID value . | All UPDATE events show the correct value for the affected field. | None. If you have a filter on the affected field, you receive an UPDATE event only if that field has actually changed, not if any other parameter value has changed. |
| When this object was updated, the UPDATE event sometimes incorrectly showed the affected fields change from null to ID value . | All UPDATE events show the correct value for the affected field. | None. If you have a filter on the affected field, you receive an UPDATE event only if that field has actually changed, not if any other parameter value has changed. |