Replies:

Hey Andy,

So reason i am using Comment Setting because ProcessMessage Setting is not coming up in the Settings section.

I am using the 

<ruleDefinition alias="" context="EnsLib.HL7.MsgRouter.RoutingEngine"...

Would be glad to have the ProcessMessage Settings  come up using the standard Rule definition class.

Thanks,

Jimmy Christian.

I have found another way around. Not perfect but can solve the problem i am having for the Settings valuesmiley

So i am thinking to use the Comment section of the Config Item. Then using the below function i can grab the value of it in my Standard Rule Class. Also i can change the value during downtime. Tested it and its working. If i dont find a way to create a CUSTOM Settings, i can use the "Comment" settings. !!

ClassMethod ShowComment(ConfigItem As %String) As %String
{
Set tSC=$$$OK Try{
    
     &sql(SELECT Comment INTO :tComment FROM Ens_Config.Item WHERE Name = :ConfigItem)
        If (SQLCODE = 0)
         {
Set tSC=$$$OK   
}
  } Catch(ex){
Set tSC = ex.AsStatus()
$$$LOGERROR("Error in function ShowComment: "_tStatus)  }
 tComment
}

Followers:
Jimmy has no followers yet.
Following:
Jimmy has not followed anybody yet.
Global Masters badges:
Jimmy has no Global Masters badges yet.