Using eventhandler to create on trusted reconcile
840981Apr 2 2012 — edited Apr 4 2012Hey guys,
I am trying to use an event handler to create user upon a trusted recon event.
So I wrote a post process event handler and customized my BulkEventResult method. so the structure is as below
public BulkEventResult execute(long processId, long eventId,
BulkOrchestration bulkOrchestration) {
HashMap<String, Serializable>[] bulkParams = bulkOrchestration
.getBulkParameters();
for(int i=0; i<bulkParams.length; i++){
//code to update bulkParams[i] using bulkParams.put(field, value);
}
return new BulkEventResult();
}
When I print my bulkParams, it shows all my updates. But when the task ends, it does not update the changes. The user is created but only with the values that were pulled in from the resource but not from the changes I made to bulkParams[i].
I have seen other posts and I think I am doing the same mentioned in other posts however, my changes do not get through. Am I missing something?
Thanks in advance for any help