Demian Kasier
Demian Kasier

Reputation: 2523

Unable to resolve symbol: Workflow.EntityLogicalName

I think I'm missing a using statement:

using System;
using System.Activities;
using System.ServiceModel;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Workflow;
using Microsoft.Xrm.Sdk.Workflow.Activities;
using Microsoft.Xrm.Sdk.Query;

Workflow.EntityLogicalName;

Extra info:

Upvotes: 1

Views: 169

Answers (1)

Scorpion
Scorpion

Reputation: 4575

Make sure that you have added following references:

Microsoft.Xrm.Sdk

Microsoft.Xrm.Sdk.Workflow

If you have these references then Generate the Entity Wrapper for workflows using CRM Explorer. and then replace

Workflow.EntityLogicalName 

with

Entities.Workflow.EntityLogicalName

Upvotes: 2

Related Questions