Setting and getting a Global variable in Drools

前端 未结 0 1100
情歌与酒
情歌与酒 2021-02-19 07:06

I have something like this in drl file:

import java.lang.String

global String result;

rule \'\'Rule 1\'\' when some condition then result = "PASS"

相关标签:
回答
  • 消灭零回复
提交回复
热议问题