Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Condition Expression c# plugin

$
0
0

Hi, 

I have to write a condition expression where I check if a specific field's status is Active.

This is my code so far.

QueryExpression query = new QueryExpression()
{
Distinct = false,
EntityName = "new_trainingstep",
ColumnSet = new ColumnSet("new_step", "new_name", "new_description", "new_link"),
Criteria = new FilterExpression
{
Conditions =
{
new ConditionExpression
{
AttributeName = "new_step", //this is the field I have to check if is Active or Inactive
Operator = ConditionOperator.Equal,
Values =
{

}
}
}
}
};

What do I write in Values so I can check?


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images