<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How to add conditions in decision table in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-add-conditions-in-decision-table/m-p/2915870#M1109899</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a new to creating decision tables and I have a requirement where I need to use decision table to configure the requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement&lt;/STRONG&gt;: 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the condition, I need to validate as assigned to == product owner or its delegates. But I'm unable to check this condition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly provide inputs to achieve this functionality by only using decision table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Manjushree&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 05:52:28 GMT</pubDate>
    <dc:creator>Manju Shree</dc:creator>
    <dc:date>2024-05-02T05:52:28Z</dc:date>
    <item>
      <title>How to add conditions in decision table</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-add-conditions-in-decision-table/m-p/2915870#M1109899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a new to creating decision tables and I have a requirement where I need to use decision table to configure the requirement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirement&lt;/STRONG&gt;: 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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the condition, I need to validate as assigned to == product owner or its delegates. But I'm unable to check this condition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly provide inputs to achieve this functionality by only using decision table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Manjushree&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 05:52:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-add-conditions-in-decision-table/m-p/2915870#M1109899</guid>
      <dc:creator>Manju Shree</dc:creator>
      <dc:date>2024-05-02T05:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to add conditions in decision table</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-add-conditions-in-decision-table/m-p/2915931#M1109912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/396230"&gt;@Manju Shree&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;First , Define Inputs&lt;/STRONG&gt;:&lt;BR /&gt;know what is required for your decision table you would need to include the belwo to create a decision from decision builder&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Story&lt;/LI&gt;
&lt;LI&gt;Assigned To (Scrum Task)&lt;/LI&gt;
&lt;LI&gt;Product of the Story&lt;/LI&gt;
&lt;LI&gt;Owner of the Product&lt;/LI&gt;
&lt;LI&gt;Add more inputs if you need ?&lt;BR /&gt;&lt;STRONG style="font-family: inherit;"&gt;&lt;BR /&gt;Next , Set the Conditions&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Assigned To == Product Owner OR Assigned To is a delegate of the Product Owner. (as per your condition)
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&amp;nbsp;Define the Actions&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Define the actions to be taken&amp;nbsp; In urs case, the action could be to allow testing or reject testing.&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Create Decision Table&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a decision table with rows representing different scenarios and columns representing the inputs, conditions, and actions.&lt;/LI&gt;
&lt;LI&gt;Populate the rows with different combinations of inputs and define the expected outcome based on the conditions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Here's an example of how your decision table may&amp;nbsp; look:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH&gt;Story&lt;/TH&gt;
&lt;TH&gt;Assigned To&lt;/TH&gt;
&lt;TH&gt;Product of Story&lt;/TH&gt;
&lt;TH&gt;Owner of Product&lt;/TH&gt;
&lt;TH&gt;Condition&lt;/TH&gt;
&lt;TH&gt;Action&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Story1&lt;/TD&gt;
&lt;TD&gt;John&lt;/TD&gt;
&lt;TD&gt;ProductA&lt;/TD&gt;
&lt;TD&gt;Alice&lt;/TD&gt;
&lt;TD&gt;FALSE&lt;/TD&gt;
&lt;TD&gt;Reject Testing&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Story2&lt;/TD&gt;
&lt;TD&gt;Alice&lt;/TD&gt;
&lt;TD&gt;ProductA&lt;/TD&gt;
&lt;TD&gt;Alice&lt;/TD&gt;
&lt;TD&gt;TRUE&lt;/TD&gt;
&lt;TD&gt;Allow Testing&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Story3&lt;/TD&gt;
&lt;TD&gt;Bob&lt;/TD&gt;
&lt;TD&gt;ProductB&lt;/TD&gt;
&lt;TD&gt;Bob&lt;/TD&gt;
&lt;TD&gt;TRUE&lt;/TD&gt;
&lt;TD&gt;Allow Testing&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Story4&lt;/TD&gt;
&lt;TD&gt;Carol&lt;/TD&gt;
&lt;TD&gt;ProductB&lt;/TD&gt;
&lt;TD&gt;Bob&lt;/TD&gt;
&lt;TD&gt;FALSE&lt;/TD&gt;
&lt;TD&gt;Reject Testing&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;I hope this helps....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 06:51:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-add-conditions-in-decision-table/m-p/2915931#M1109912</guid>
      <dc:creator>Sohail Khilji</dc:creator>
      <dc:date>2024-05-02T06:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add conditions in decision table</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-add-conditions-in-decision-table/m-p/2917126#M1110290</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/258237"&gt;@Sohail Khilji&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your input and it was very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manjushree&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 05:04:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-add-conditions-in-decision-table/m-p/2917126#M1110290</guid>
      <dc:creator>Manju Shree</dc:creator>
      <dc:date>2024-05-03T05:04:55Z</dc:date>
    </item>
  </channel>
</rss>

