<?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>topic Re: Add an entry in the Decision table without Publishing the Process model in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8632#M3916</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have a resuable decision table attached to the process, try updating that from the decision tables tab.--&amp;gt;this is not working as expected(as it still requires publish of the process model)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;if you are expecting these changes more often, better use a service task that calls DmnRuleService to evaluate your decision table.--could you please share some sample process model please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Arun K&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Nov 2020 10:21:42 GMT</pubDate>
    <dc:creator>Arun_nmc</dc:creator>
    <dc:date>2020-11-16T10:21:42Z</dc:date>
    <item>
      <title>Add an entry in the Decision table without Publishing the Process model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8630#M3914</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have simimple process model which is having Decision task which is&amp;nbsp; referening to the Decision table.&lt;/P&gt;&lt;P&gt;Decision table is having some entries. After the process model is published,&amp;nbsp; the request can be created and it works as expected.&lt;/P&gt;&lt;P&gt;In my project&amp;nbsp; requirement,I want to add some more new entries in the decision table, after adding that entries,i want to refelct that entries for&amp;nbsp; the request which is&amp;nbsp; going to be created&amp;nbsp; newly without publishing the process model.&lt;/P&gt;&lt;P&gt;whether is there a way to accomploish this. As adding a&amp;nbsp; new entry will be reflected only after we publishing the process model. But however, i am in need of understanding is there a way the newly added entries will be get reflected in the requestes without publishing the process model.&lt;/P&gt;&lt;P&gt;Kindly help on sharing your thoughts.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun K&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 07:33:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8630#M3914</guid>
      <dc:creator>Arun_nmc</dc:creator>
      <dc:date>2020-11-12T07:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add an entry in the Decision table without Publishing the Process model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8631#M3915</link>
      <description>&lt;P&gt;As a good practice, Updated definitions must get a newer version so instances can be created from the latest one.&lt;/P&gt;&lt;P&gt;If you have a resuable decision table attached to the process, try updating that from the decision tables tab. if you are expecting these changes more often, better use a service task that calls DmnRuleService to evaluate your decision table.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 13:45:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8631#M3915</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2020-11-13T13:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add an entry in the Decision table without Publishing the Process model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8632#M3916</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have a resuable decision table attached to the process, try updating that from the decision tables tab.--&amp;gt;this is not working as expected(as it still requires publish of the process model)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;if you are expecting these changes more often, better use a service task that calls DmnRuleService to evaluate your decision table.--could you please share some sample process model please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Arun K&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 10:21:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8632#M3916</guid>
      <dc:creator>Arun_nmc</dc:creator>
      <dc:date>2020-11-16T10:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add an entry in the Decision table without Publishing the Process model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8633#M3917</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/75790"&gt;@Arun_nmc&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have a resuable decision table attached to the process, try updating that from the decision tables tab.--&amp;gt;this is not working as expected(as it still requires publish of the process model)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;if you are expecting these changes more often, better use a service task that calls DmnRuleService to evaluate your decision table.--could you please share some sample process model please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Arun K&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;you can have bean with following impl. your decisionTable (in place of &lt;STRONG&gt;decisionKey&lt;/STRONG&gt;) name will be required, download the xml from the editor and search for the same&lt;/P&gt;&lt;PRE&gt;        @Autowired
	private DmnRuleService dmnRuleService;

	public void process(final DelegateExecution execution, final String decisionKey) {
		System.out.println("input: " + execution.getVariables());
		execution.setVariables(
dmnRuleService.executeDecisionByKey(decisionKey, execution.getVariables()).getResultVariables());
	}&lt;/PRE&gt;&lt;P&gt;needless to say its just an example and not optimized.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 09:06:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8633#M3917</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2020-11-17T09:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add an entry in the Decision table without Publishing the Process model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8634#M3918</link>
      <description>&lt;P&gt;Hi Abbas,&lt;/P&gt;&lt;P&gt;I was trying out your suggestion using a script task. Is it possible to do that ?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 21:33:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8634#M3918</guid>
      <dc:creator>charusheila</dc:creator>
      <dc:date>2021-03-09T21:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add an entry in the Decision table without Publishing the Process model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8635#M3919</link>
      <description>&lt;P&gt;I did try this option. However the process model has to be redeployed otherwise the changes to decision table is not reflected. Please let me know if I am missing anything&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 02:23:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-an-entry-in-the-decision-table-without-publishing-the/m-p/8635#M3919</guid>
      <dc:creator>charusheila</dc:creator>
      <dc:date>2021-03-12T02:23:52Z</dc:date>
    </item>
  </channel>
</rss>

