Sessions are a runtime concept, Guvnor is a design time environment.
Ignoring this disconnect and assuming you want to use java.lang.String as a
fact type in Guvnor you should be able to simply add an import for said
class.
sent on the move
On 30 Sep 2012 18:55, "Manasi" wrote:
> Hi,
>
> Curre
Hi,
Currently in my application I want to insert a *String object* into a
StatefulKnowledgeSession.
I don't want to insert object of any *User defined type* ,as input parameter
contains only one string parameter.
I am able to insert String object into my StatefulKnowledgeSession, but
don't know h
There's a section in the documentation "Persistence and Transactions",
which explains how to save and reload a session. It will have to be a
StatefulKnowledgeSession, but that shouldn't matter - you just lose the
simple "one shot" execution API call, and you don't want this any more
anyway.
But ha
I have a need to execute a set of rules on a complicated hierarchical data
structure where some of the rules use a bunch of reference facts.
At the moment I load the reference facts and the hierarchical structure into
the WM of a stateless session on every execution.
There are a lot of reference