Thanks for the response. Yes, I want to update the meta-data associated to a folder based on the workflow. I did not update this thread recently, but the below is how I am accomplishing that. Feel free to give your input. Much appreciated, Mike T
var document = bpm_package.children[0];
var parentFolder = document.parentAssocs["cm:contains"][0];
var person = people.getPerson('Bautista');
parentFolder.properties["sop:sourceSubmitted"] = new Date();
parentFolder.save();
parentFolder.properties["sop:sourceSubComment"] = task.getVariable("bpm_comment");
parentFolder.save();
parentFolder.createAssociation(person, "sop:sourceSubPerson");
parentFolder.save();