Policy testing true but not firing with an action set.
i quite new bre (classic start) when create policy checks value of incoming message based on schema template, , add action policy resolving true, retracts. below test output get, policy set as
if
orderaccount equal 010009
then
set transport type file
rule engine trace ruleset: potestpolicy 5/4/2012 10:47:39 am
fact activity 5/4/2012 10:47:39 am
rule engine instance identifier: b7553f84-6024-4303-93c1-f421e536038e
ruleset name: potestpolicy
operation: assert
object type: typedxmldocument:sd.purchaseorder.common.messaging.purchaseorder
object instance identifier: 39682040
fact activity 5/4/2012 10:47:39 am
rule engine instance identifier: b7553f84-6024-4303-93c1-f421e536038e
ruleset name: potestpolicy
operation: assert
object type: typedxmldocument:sd.purchaseorder.common.messaging.purchaseorder:/*[local-name()='purchaseorder' , namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/purchaseorder']/*[local-name()='purchtable' , namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/purchaseorder']
object instance identifier: 21594040
condition evaluation test (match) 5/4/2012 10:47:39 am
rule engine instance identifier: b7553f84-6024-4303-93c1-f421e536038e
ruleset name: potestpolicy
test expression: typedxmldocument:sd.purchaseorder.common.messaging.purchaseorder:/*[local-name()='purchaseorder' , namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/purchaseorder']/*[local-name()='purchtable' , namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/purchaseorder'].orderaccount == 010009
left operand value: 010009
right operand value: 010009
test result: true
fact activity 5/4/2012 10:47:39 am
rule engine instance identifier: b7553f84-6024-4303-93c1-f421e536038e
ruleset name: potestpolicy
operation: retract
object type: typedxmldocument:sd.purchaseorder.common.messaging.purchaseorder
object instance identifier: 39682040
fact activity 5/4/2012 10:47:39 am
rule engine instance identifier: b7553f84-6024-4303-93c1-f421e536038e
ruleset name: potestpolicy
operation: retract
object type: typedxmldocument:sd.purchaseorder.common.messaging.purchaseorder:/*[local-name()='purchaseorder' , namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/purchaseorder']/*[local-name()='purchtable' , namespace-uri()='http://schemas.microsoft.com/dynamics/2008/01/documents/purchaseorder']
object instance identifier: 21594040
what odd if remove actions policy fire policy, actions seem work functions assert. every other "setting" vocabulary seem not fire. ideas?
hi
check this blog post richard, see if helps you.
hth,
naushad alam
when see answers , helpful posts, please click vote helpful, propose answer, and/or mark answer
alamnaushad.wordpress.com
new technet wiki "biztalk server: performance tuning & optimization"
BizTalk Server > BizTalk Server General
Comments
Post a Comment