Hi All, I trying to execute a rule which I have written in TS/LS7.3.2. I called OOTB External and have given a Rule Datum as a parameter to that Datum.
<External>
<Parameters>
<Datum ID="D01" Type="Rule" Name="RulesToExecute" Exposed="true">
<Option Selected="true" Order="1">
<Display>Link</Display>
<Value>abc.rule</Value>
</Option>
</Datum>
</Parameters>
<Object Scope="local">com.interwoven.livesite.external.runtime.RulesEngineExternals</Object>
<Method>executeRules</Method>
</External>
But this rule is not executing and is failing with following exception. So looks like the path formed for fetching the rule is not correct (square braces are coming in the path). But what can I do to get rid of those braces so that it works fine? I can probably modify the code and make it work. But both the options are OOTB, so shouldnwork in conjunction with each other? Am i missing something?
Thanks in advance
Caused by: java.lang.RuntimeException: Failed to get data //servername/default/main/sitename/WORKAREA/shared/iwov-resources/rules/[abc.rule]
at com.interwoven.livesite.file.impl.CsFileDal.getStream(CsFileDal.java:310)
at com.interwoven.livesite.rules.engine.RulesEnginePreviewRequestBuilder.loadRuleXml(RulesEnginePreviewRequestBuilder.java:300)
at com.interwoven.livesite.rules.engine.RulesEnginePreviewRequestBuilder.buildRuleData(RulesEnginePreviewRequestBuilder.java:136)
at com.interwoven.livesite.rules.engine.RulesEnginePreviewRequestBuilder.<init>(RulesEnginePreviewRequestBuilder.java:104)