Set callContextBpmData in BPM and return to customization

Hey,

I have this code in the customization:

// check lead time and stop if we won't make it
// set context variable and mark header row dirty to update
EpiDataView edvCallContextBpmData = (EpiDataView)(oTrans.EpiDataViews["CallContextBpmData"]);
edvCallContextBpmData.dataView[edvCallContextBpmData.Row].BeginEdit();
edvCallContextBpmData.dataView[edvCallContextBpmData.Row]["ShortChar01"] = "CheckLeadtime"; 
edvCallContextBpmData.dataView[edvCallContextBpmData.Row].EndEdit();

edvOrderHed.dataView[edvOrderHed.Row].BeginEdit();
edvOrderHed.dataView[edvOrderHed.Row]["RowMod"] = Ice.IceRow.ROWSTATE_UPDATED;
edvOrderHed.dataView[edvOrderHed.Row].EndEdit();
oTrans.Update();

string result = Convert.ToString(edvCallContextBpmData.dataView[edvCallContextBpmData.Row]["ShortChar01"]);

MessageBox.Show("result " + result);

The BPM works and sets ShortChar01 to the correct string, which I can display in the BPM.

But I can’t see the string when we come back to the customization. The message box displays: ‘result FALSE’

Do I need to refresh the dataview? How would I do that?

Thanks,

Joe