Questions Tagged With business-datahttps://answers.axonivy.com/tags/business-data/?type=rss&user=trungdvquestions tagged <span class="tag">business-data</span>enTue, 08 Aug 2017 06:58:47 -0400Can we persist Elastic Search data to Business Data table?https://answers.axonivy.com/questions/2799/can-we-persist-elastic-search-data-to-business-data-table<p>hi ivyteam</p> <p>As far as i know, when we use ivy.repo() from ivy, data will be stored to table IWA.BusinessData and indexed to Elastic Search cluster. Normally ivy will create that index from that table when it start by this command: <code>DiCore.getGlobalInjector().getInstance(ElasticSearchServerManager.class).startIndexRecreation();</code></p> <p>In my case, i want to do it in opposite way that collecting data from index table then persist to IWA.BusinessData, just imagine that table has lost data for some reasons so i want to recover it. Can i do it in ivy?</p> <p>Thanks</p>trungdvTue, 08 Aug 2017 06:58:47 -0400https://answers.axonivy.com/questions/2799/can-we-persist-elastic-search-data-to-business-data-tablebusiness-datarepositoryCan not use ivy.repo in ResfulAPIhttps://answers.axonivy.com/questions/2777/can-not-use-ivy-repo-in-resfulapi<p>hi all</p> <p>I'm now using Ivy 6.3. When i create ResfulAPI by java (not use ivy element) and in that api i try to use ivy.repo() to store some data, it throw two exception: <img alt="alt text" src="http://answers.axonivy.com/upfiles/img1.png"> and <img alt="alt text" src="http://answers.axonivy.com/upfiles/img2.png"> I guess that because with pure java api, there is no task and case created but why we need them? as my understanding ivy.repo will store data to Ivy System DB and it's different from ivy process data which highly-related to ivy task&amp;case.</p> <p>Anybody can explain ? Thanks a lot</p>trungdvTue, 25 Jul 2017 06:16:41 -0400https://answers.axonivy.com/questions/2777/can-not-use-ivy-repo-in-resfulapicasebusiness-datarepository