Hi,
In one of my project when I want to create a activity using CreateNewActivityEntry method of CrmServiceClient. I am unable to create
it but it will not get error and return only empty guid.
The code is
-------------------------
caseResponseActivity = AppConfigSettings.CaseReponseActivity;
var caseResponseActivityType = CRMServiceHelper.GetOptionSetValueLabel("activitypointer", "activitytypecode", service).Where(c => c.Value == caseResponseActivity).Select(e => (KeyValuePair<int, string>?)e).FirstOrDefault();
if (caseResponseActivityType != null)
{
crmResponseActivity.ActivityId = service.CreateNewActivityEntry(caseResponseActivityType.Value.Value
, "incident", crmResponseActivity.CRMCaseId, crmResponseActivity.Subject,
crmResponseActivity.Description, "IT.test@tp.eu");
}
*This post is locked for comments