Hi,

I have Microsoft CRM 3.0 and Workflow Manager.

I created a workflow rule for Case enity and Change Status Event.

Anyway, I have

If
{
condition1
condition2
}
then
{
Send e-mail template
}

In the If condition I have two conditions which I want checked. When I
activate this rule, I notice that an e-mail is sent no matter which condition
is true. In other words, the two conditions are Logical OR. I don't want
this. I need for both Conditions to be true, In other words, I want Logical
AND.

How do I do this?

RE: Logical AND in conditions for workflow rule by Dodd

Dodd
Fri Sep 22 13:31:02 CDT 2006

Nest another If/Then statement after the first condition (click on it, then
click Insert Condition and send the e-mail action in the under the second
"Then" line. Don't put anything under the last "Then":

If
Condition 1
Then
If
Condition 2
Then
Send E-mail
End If
Then
End If

If condition 1 isn't met, you bypass the the second if/then. If Condition 1
is met, you go to condition 2. If condition2 is met, the e-mail is sent.
--
--Dodd


"nitadmin" wrote:

> Hi,
>
> I have Microsoft CRM 3.0 and Workflow Manager.
>
> I created a workflow rule for Case enity and Change Status Event.
>
> Anyway, I have
>
> If
> {
> condition1
> condition2
> }
> then
> {
> Send e-mail template
> }
>
> In the If condition I have two conditions which I want checked. When I
> activate this rule, I notice that an e-mail is sent no matter which condition
> is true. In other words, the two conditions are Logical OR. I don't want
> this. I need for both Conditions to be true, In other words, I want Logical
> AND.
>
> How do I do this?

RE: Logical AND in conditions for workflow rule by nitadmin

nitadmin
Fri Sep 22 13:49:01 CDT 2006

So basically your saying that I should nest one if..then clause inside another.

Like this

if(condition1)
{
If(condition2)
{
send e-mail template
}
}

"Dodd" wrote:

> Nest another If/Then statement after the first condition (click on it, then
> click Insert Condition and send the e-mail action in the under the second
> "Then" line. Don't put anything under the last "Then":
>
> If
> Condition 1
> Then
> If
> Condition 2
> Then
> Send E-mail
> End If
> Then
> End If
>
> If condition 1 isn't met, you bypass the the second if/then. If Condition 1
> is met, you go to condition 2. If condition2 is met, the e-mail is sent.
> --
> --Dodd
>
>
> "nitadmin" wrote:
>
> > Hi,
> >
> > I have Microsoft CRM 3.0 and Workflow Manager.
> >
> > I created a workflow rule for Case enity and Change Status Event.
> >
> > Anyway, I have
> >
> > If
> > {
> > condition1
> > condition2
> > }
> > then
> > {
> > Send e-mail template
> > }
> >
> > In the If condition I have two conditions which I want checked. When I
> > activate this rule, I notice that an e-mail is sent no matter which condition
> > is true. In other words, the two conditions are Logical OR. I don't want
> > this. I need for both Conditions to be true, In other words, I want Logical
> > AND.
> >
> > How do I do this?