cancel
Showing results for 
Search instead for 
Did you mean: 

When debugging the BPM process, the decision table in the Business Rule can't find a rule.

Former Member
0 Kudos

Hello

When I try to debug my first business rule in the BPM model, the data given (see bellow) for the debugging don't fit the condition of the decision table. As you can see in the screenshots the variable fit 1:1 the condition of the decition table in the business rule. Does anybody know what could cause my problem?

Thank you in advance. If you need additional data regarding to the process, please let me know.

Best,

Kevork


Data for debugging:

<?xml version="1.0" encoding="UTF-8"?>

<ns1:PurchaseRequisitionStartApproval xmlns:ns1="urn:ad.sys:BPM:PR" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <PurchaseRequisitionDetails>

    <Plant>5600</Plant>

    <CreationInd>R</CreationInd>

    <PRType>ZPRC</PRType>

    <NetValue>1001</NetValue>

    <Requisitioner>Me</Requisitioner>

    <AccAssignCat>P</AccAssignCat>

    <PurchGroup>NAM</PurchGroup>

    <ProjectProfile>Z000002</ProjectProfile>

    <PRNumber>12345</PRNumber>

    <ProcessResp>100731265</ProcessResp>

    <Requestor>Philipp</Requestor>

    <PlantName>Plant 5600</PlantName>

    <infoString>Info String</infoString>

  </PurchaseRequisitionDetails>

</ns1:PurchaseRequisitionStartApproval>

Accepted Solutions (1)

Accepted Solutions (1)

former_member191643
Active Contributor
0 Kudos

Hi Kevork,

If you see the data mapping again, you have not mapped the ' dm0:ApprReq ' field.

So it is obvious that it would not show any value when debugging.

Hence the "notFound" in debugging results.

Regards,

Sid

Former Member
0 Kudos

Hi Sid


Thank you for your feedback. I have already added the mapping of the the field dm0:ApprReq in the output mapping as you can see in the screenshot bellow. Since the field dm0:ApprReq will be filled through the business rule, I don't have to map it in the input mapping - from my understanding. However, I tried it, but it didn't make a difference.

Do you maybe know, what else could cause my problem?

Thanks again!


Best,

Kevork

former_member191643
Active Contributor
0 Kudos

Are you sure that the conditions of the BRM are being passed correctly? It should exactly be the same as you have defined in the decision table.

The 'CreationIndicator' field seems to be missed out in the input mapping.

Note: Remove the 'ApprovalReq' mapping from input mapping.

Former Member
0 Kudos

When I'm running the Test Case for the business rule, it works proparly without errors. I added screenshots for the ruleflow, its rule scripts and the aliases we're using. When passing the data through the decision table, the field AppReq would be automatically be assigned to yes/no? Or do I have to include a condition in the rule scripts?

former_member191643
Active Contributor
0 Kudos

Your rule flow seems tricky.

After you didvide the flow into 2 parts (the 2 rule scripts), use a merging gateway to merge the branches and then end the flow  in a single end event.

Also, in the input mapping screenshot you posted in your original query, the 'CreationIndicator' field is left unmapped. It is one of the conditions of the BRM decision table if I am not wrong. So that has to be mapped too.

Former Member
0 Kudos

Hello Sid

Thank you very much! It's working now!

- Changed the rule flow

- Added the additional input mapping

Best,

Kevork

Answers (0)