Jason Hoover

Ruleflows and global variables

Discussion created by Jason Hoover on Mar 24, 2011
Latest reply on Mar 24, 2011 by Jason Hoover

Hello fellow rule developers!

I'm running into a quandary between good code writing and using ruleflows.  As a practice I try to avoid global variables like the plague.  However, in using Ruleflows, I'm finding that I can't use them without global variables if I want to pass an object into them and get one out.  I'm fine with using ruleflow variables to hold data between tasks, but how do I get data into the ruleflow without using a global variable?

 

Does anyone have an idea to help me around this?  Is there something in my design I can tweak to make this workable?

 

Thanks,

Jason

Outcomes