Skip to content

Instantly share code, notes, and snippets.

View tomfulton's full-sized avatar

Tom Fulton tomfulton

View GitHub Profile
@tomfulton
tomfulton / gist:2137583
Created March 20, 2012 16:06
Contour - Update a field's value within a WorkflowType
List<object> Values = new List<Object>();
Values.Add("value here");
RecordField rf = record.GetRecordField("FieldAlias"); // Use a Setting to define during workflow creation
rf.Values.Clear();
rf.Values = Values;
FormStorage fs = new FormStorage();
Form f = fs.GetForm(record.Form);
RecordStorage rs = new RecordStorage();