AnsweredAssumed Answered

Discover updated properties on rule service executed action.

Question asked by iblanco on Nov 22, 2010
Latest reply on Nov 23, 2010 by iblanco
When you set a rule for inbound content it fires whenever content is added or updated.

I can "manage" to detect if it is a new content by comparing creation and modification dates of the content, but is this a safe way of doing so ? Although not very probable it is technically possible for a content to be updated in less than a second, and that would be considered a creation. Besides AFAIK there is no warranty that Alfresco's code will use the same date for both properties, so in some cases the creation and modification dates could vary even on a creation operation.

Besides knowing if it is an update or not it would be very useful being able to know what properties have been updated. I know there is an easy way to do so in the behaviours but is there any similar way of achieving the same in an action executed from a rule?

Thanks.

Outcomes