How to add conditions in decision table

Manju Shree
Tera Expert

Hi,

 

I'm a new to creating decision tables and I have a requirement where I need to use decision table to configure the requirement.

 

Requirement: Only a product owner and their respective delegates should be the assigned to for testing scrum task. For a particular story, the testing (type is testing) scrum task should have a validation where the product owner or their delegates should only test the requirement of the story. The assigned to should only be product owner or their delegates.

 

I have created a decision table and given the inputs as story, assigned to of scrum task, product of the story, owner of the product. (PS: Not sure if its the right inputs)

 

In the condition, I need to validate as assigned to == product owner or its delegates. But I'm unable to check this condition. 

 

Kindly provide inputs to achieve this functionality by only using decision table.

 

Thanks in advance

 

Kind Regards,

Manjushree

2 REPLIES 2

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Manju Shree ,

 

 First , Define Inputs:
know what is required for your decision table you would need to include the belwo to create a decision from decision builder

  • Story
  • Assigned To (Scrum Task)
  • Product of the Story
  • Owner of the Product
  • Add more inputs if you need ?

    Next , Set the Conditions
    :
    • Assigned To == Product Owner OR Assigned To is a delegate of the Product Owner. (as per your condition)


       Define the Actions
      :

      • Define the actions to be taken  In urs case, the action could be to allow testing or reject testing.


        Create Decision Table
        :

        • Create a decision table with rows representing different scenarios and columns representing the inputs, conditions, and actions.
        • Populate the rows with different combinations of inputs and define the expected outcome based on the conditions.

Here's an example of how your decision table may  look:

Story Assigned To Product of Story Owner of Product Condition Action
Story1 John ProductA Alice FALSE Reject Testing
Story2 Alice ProductA Alice TRUE Allow Testing
Story3 Bob ProductB Bob TRUE Allow Testing
Story4 Carol ProductB Bob FALSE Reject Testing


I hope this helps.... 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Hi @Sohail Khilji 

 

Thanks for your input and it was very helpful.

 

Also, I would like to know if we can dynamically check the values instead of hardcoding them. Product owner of any product == assigned to or product owner != assigned to.

 

Regards,

Manjushree