Tuesday, October 11, 2011

Corticon: WDE (work document entity) - what is it?

Going through Corticon User Guide... Very well written documentation. There are some, very infrequent glitches. Here is one. In "Path 2 - Using Bundled Sample Code to Consume a Decision Service"->"Creating a Request Message for a Decision Service" the guide tells to "Set a work document entity (WDE) for the Ruleflow".



Whatever I did I couldn't find anything in Corticon eStudio that used either WDE or "Work document entity" terminology. So I settled with "Rulesheet Activity" as presented on the following screenshot:



Please note that to see the Rulesheet Activity and be able to change it to Cargo.ers you need to double-click on tutorial_example.erf. If you do a single click you'll see a different view:











Monday, October 10, 2011

Corticon - valid license is essencial when going through user guide

Another small thing in Corticon that can eat up much of your time. In the eServer Deployment Tutorial you are creating a ruletest, pointing to an existing web app like the following:


Well, whatever I was doing I could not see my tutorial_example! Then I went to the console on http://localhost:8080/axis/ and could not see it there either, although I went through the deployment steps, created a .cdd file in Corticon Deployment Console and placed it in the right location c:/Corticon/eServer/Tomcat/CcServer/cdd/tutorial_example.cdd.

Then I tried to deploy it via the console (specifying the tutorial_example.erf) and at this very moment I got an error that my license is invalid. I asked my colleague and he gave me the CcLicense.jar which I placed in C:\corticon\eServer\lib and C:\corticon\eServer\Tomcat\webapps\axis\WEB-INF\lib

And this helped! I started seeing all deployed decision services:




The bottom line: when you go over the User Guide make sure that your license is up to date! Suggestions for Corticon folks - update your User's Guide to reflect this requirement.