|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Business Rules - Decision Service Issue | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | rvk2017 | 
		  
		    
			  
				 Posted: Tue Oct 23, 2018 10:29 pm    Post subject: Business Rules - Decision Service Issue | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 23 Apr 2018 Posts: 5
  
  | 
		  
		    
			  
				Hi all,
 
      I am trying create a business rule and want to create a service which will help in a business application development. I have created a schema which will decides to change the price at run time, facing the issue please help me out to resolve.
 
 
Below is the complete error discription
 
 
ExceptionList
 
	RecoverableException
 
			File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
 
			Line:INTEGER:1251
 
			Function:CHARACTER:ImbDataFlowNode::createExceptionList
 
			Type:CHARACTER:ComIbmDecisionServiceNode
 
			Name:CHARACTER:DcnService#FCMComposite_1_5
 
			Label:CHARACTER:DcnService.Decision Service
 
			Catalog:CHARACTER:BIPmsgs
 
			Severity:INTEGER:3
 
			Number:INTEGER:2230
 
			Text:CHARACTER:Node throwing exception
 
			Insert
 
					Type:INTEGER:14
 
					Text:CHARACTER:DcnService.Decision Service
 
			RecoverableException
 
					File:CHARACTER:DecisionServiceNode.java
 
					Line:INTEGER:928
 
					Function:CHARACTER:evaluate
 
					Type:CHARACTER:
 
					Name:CHARACTER:
 
					Label:CHARACTER:
 
					Catalog:CHARACTER:BIPmsgs
 
					Severity:INTEGER:3
 
					Number:INTEGER:4310
 
					Text:CHARACTER:Attempt to execute rule failed
 
					Insert
 
							Type:INTEGER:5
 
							Text:CHARACTER:Decision Service
 
					Insert
 
							Type:INTEGER:5
 
							Text:CHARACTER:DcnService
 
					Insert
 
							Type:INTEGER:5
 
							Text:CHARACTER:DcnService
 
					Insert
 
							Type:INTEGER:5
 
							Text:CHARACTER:
 
					Insert
 
							Type:INTEGER:5
 
							Text:CHARACTER:Comp_DcnService
 
					Insert
 
							Type:INTEGER:5
 
							Text:CHARACTER:ERROR RTERR013: in source ?, after line 1, before lines ?, The following attribute is required company
 
ERROR RTERR013: in source ?, after line 1, before lines ?, The following attribute is required items
 
 
					Insert
 
							Type:INTEGER:5
 
							Text:CHARACTER:ilog.rules.xml.runtime.IlrXmlUnmarshaller.throwXmlException(IlrXmlUnmarshaller.java:148)
 
ilog.rules.xml.runtime.IlrXmlUnmarshaller.unmarshal(IlrXmlUnmarshaller.java:134)
 
ilog.rules.xml.binding.IlrXmlDefaultDocumentDriver.readObject(IlrXmlDefaultDocumentDriver.java:213)
 
ilog.rules.res.xu.ruleset.xml.internal.IlrXMLObjectTransformer.toXMLObject(IlrXMLObjectTransformer.java:50)
 
ilog.rules.res.xu.ruleset.xml.internal.IlrXMLObjectService.toXMLObject(IlrXMLObjectService.java:165)
 
ilog.rules.res.xu.ruleset.xml.internal.IlrXMLObjectService.toParameterMap(IlrXMLObjectService.java:117)
 
com.ibm.rules.res.xu.engine.internal.BaseEngineManager.setParameters(BaseEngineManager.java:313)
 
com.ibm.rules.res.xu.engine.cre.internal.CREManager.setParameters(CREManager.java:286)
 
ilog.rules.res.xu.spi.IlrManagedXUConnection.engineSetParameters(IlrManagedXUConnection.java:1056)
 
ilog.rules.res.xu.cci.IlrXUConnection.engineSetParameters(IlrXUConnection.java:504)
 
com.ibm.rules.res.xu.client.internal.DirectXURuleEngineSession.setParameters(DirectXURuleEngineSession.java:81)
 
ilog.rules.res.session.impl.IlrStatefulSessionBase.execute(IlrStatefulSessionBase.java:561)
 
ilog.rules.res.session.impl.IlrStatefulSessionBase.execute(IlrStatefulSessionBase.java:513)
 
ilog.rules.res.session.impl.IlrStatefulSessionBase.execute(IlrStatefulSessionBase.java:236)
 
ilog.rules.res.session.impl.IlrStatefulSessionBase.execute(IlrStatefulSessionBase.java:198)
 
ilog.rules.res.session.internal.IlrRuleServiceBase.executeRuleset(IlrRuleServiceBase.java:128)
 
com.ibm.rules.sdk.res.XMLRuleService.executeRuleset(XMLRuleService.java:63)
 
com.ibm.broker.businessrules.wodm.RuleEngineImpl.executeRule(RuleEngineImpl.java:494)
 
com.ibm.broker.businessrules.DecisionServiceNode.evaluate(DecisionServiceNode.java:354)
 
com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1453) | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | Vitor | 
		  
		    
			  
				 Posted: Wed Oct 24, 2018 5:02 am    Post subject: Re: Business Rules - Decision Service Issue | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| rvk2017 wrote: | 
   
  
	| please help me out to resolve. | 
   
 
 
 
   
	| rvk2017 wrote: | 
   
  
	| The following attribute is required company | 
   
 
 
 
I'd start by supplying the missing attribute, or if you are supplying it figure out why the code thinks that you're not supplying it. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | rvk2017 | 
		  
		    
			  
				 Posted: Mon Oct 29, 2018 4:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 23 Apr 2018 Posts: 5
  
  | 
		  
		    
			  
				| This code is deployed on the broker by doing some modifications to the code, now the issue is "how can we change the values at run time by using the Decision service, i tried in different ways by changing the rule set values at run time, but hard luck i could not make the changes at run time". | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |