Document Operations - Updating Document Properties with Folder Properties using EventActionHandler
public class UpdateDocumentProperties implements EventActionHandler
{
@Override
public void onEvent(ObjectChangeEvent event, Id arg1) throws EngineRuntimeException
{
try{
ObjectStore os = event.getObjectStore();
Id id = event.get_SourceObjectId(); System.out.println(" *Your Event Action Call Started *");
Folder folder = Factory.Folder.fetchInstance(os, id, null);
DocumentSet docList = folder.get_ContainedDocuments();
Iterator docItr = docList.iterator();
while (docItr.hasNext() )
{