Hi
Can any tell me where I'm going wrong here?
Dim deleteCondition = New ConditionExpression("my_id", ConditionOperator.Equal, appID) Dim deleteFilter = New FilterExpression() deleteFilter.Conditions.Add(deleteCondition) Dim bulkDeleteQuery = New QueryExpression() bulkDeleteQuery.EntityName = "my_entity" bulkDeleteQuery.Distinct = False bulkDeleteQuery.Criteria = deleteFilter Dim bulkDeleteRequest = New BulkDeleteRequest() bulkDeleteRequest.JobName = "Bulk Delete Study Choice " & appGuid bulkDeleteRequest.QuerySet = New QueryExpression() {bulkDeleteQuery} bulkDeleteRequest.StartDateTime = Date.Now bulkDeleteRequest.RecurrencePattern = String.Empty bulkDeleteRequest.SendEmailNotification = False bulkDeleteRequest.ToRecipients = New Guid() {} bulkDeleteRequest.CCRecipients = New Guid() {} service.Execute(bulkDeleteRequest)