JBoss Community

Re: RuleTask as the 1st in the process

created by Julio Faerman in jBPM - View the full discussion

I also noticed that the ruletask example doesn't reference the process instance.... the .drl reads:

 

...

    when

        m:HelloProcessModel(userlocation in ("NewYorkUser"), count < 4)

 

Shouldn't it be something like:

...

    when

        p:WorkflowProcessInstance()

        m:HelloProcessModel(userlocation in ("NewYorkUser"), count < 4) from p.getVariable("hpm")

 

?

Reply to this message by going to Community

Start a new discussion in jBPM at Community