I am trying to publish the page references along with the page using AssetReferenceSearch API in my custom workflow. It is showing all the references of the page. How to identify only modified reference alone for publishing?
You need to iterate of the result of the ReferenceSearch and found out for each resource if it has been modified since the last activation. I am not aware of a convenience method to do that.