Business Process rules 中 如何获得消息类型, session Id 等信息
Business Process rules 中 如何获得消息类型, session Id 等信息
Comments
试试扩展函数,里面使用%Ensemble获取,同时还有%System中可以获取更多系统信息。
再在rule中使用这个扩展函数。
Class utils.functions Extends Ens.Rule.FunctionSet
{
ClassMethod GetSess()
{
s s=%Ensemble("SessionId")
&SQL(Select SourceConfigName into :sess from Ens.MessageHeader where ID=:s)
Quit sess
}
}非常感谢回复。作为一个初学者,还希望能告诉一下怎样在rule中使用扩展函数。
会用了,非常感谢。![]()