What should you do to ensure that when the OrderAmount property has a value greater than 2000?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5.

The application has a workflow with two properties named OrderAmount and Discount. The workflow has two rules named SmallDiscount and BigDiscount.

The SmallDiscount rule has the following properties:

Expression = "IF this.OrderAmount > 1000 THEN this.Discount = 5" Priority = 0
Reevaluation = "Always"

The BigDiscount rule has the following properties:

Expression = "IF this.OrderAmount > 2000 THEN this.Discount = 10" Priority = 0
Reevaluation = "Always"

You need to ensure that when the OrderAmount property has a value greater than 2000, the Discount property is set to 10.

What should you do?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5.

The application has a workflow with two properties named OrderAmount and Discount. The workflow has two rules named SmallDiscount and BigDiscount.

The SmallDiscount rule has the following properties:

Expression = “IF this.OrderAmount > 1000 THEN this.Discount = 5” Priority =  0
Reevaluation = “Always”

The BigDiscount rule has the following properties:

Expression = “IF this.OrderAmount > 2000 THEN this.Discount = 10” Priority = 0
Reevaluation = “Always”

You need to ensure that when the OrderAmount property has a value greater than 2000, the Discount property is set to 10.

What should you do?

A.
Set the Priority property of BigDiscount to 1.

B.
Set the Priority property of SmallDiscount to 1.

C.
Set the Reevaluation property of BigDiscount to Never.

D.
Set the Reevaluation property of SmallDiscount to Never.



Leave a Reply 0

Your email address will not be published. Required fields are marked *