[rules-users] Unable to map process variables into WorkItem.

Stuart Grimshaw sgrimshaw at plus.net
Fri Sep 11 11:53:52 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kris Verlaenen wrote:
> Have you also defined the "fact" process variable? You can do this by
> clicking on the background of you process in the editor and updating the
> variables parameter, or in the header in xml:
> 
> <header>
>   <variables>
>     <variable name="fact" >
>       <type name="org.drools.process.core.datatype.impl.type.ObjectDataType"
>             className="org.drools.ProvFact" />
>     </variable>
>   </variables>
> </header>

This is the thing I was missing, it's all working now, thanks!

- --
+
| Stuart Grimshaw                               Broadband Solutions for
| Lead Developer                                      Home & Business @
| Plusnet Plc                                              www.plus.net
| Registered Office: Internet House, 2 Tenter Street, Sheffield, S1 4BY
| Registered in England no: 3279013
+ --------------- Plusnet - ISPA Best Consumer ISP 2008 ---------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqqco8ACgkQKVVpabZzO7nbpgCfVjKSLbTlpYJwismALjeiwSCY
6PQAn2e3BGBkcX6WdOhMZY6grAezMuUK
=CO5W
-----END PGP SIGNATURE-----



More information about the rules-users mailing list