// Refer to the new account in the task activity. if (context.OutputParameters.Properties.Contains("id")) { Lookup lookup = new Lookup(); lookup.Value = new Guid(context.OutputParameters.Properties["id"].ToString()); lookup.type = EntityName.account.ToString();
followup.Properties.Add( new LookupProperty("regardingobjectid", lookup)); }