User bio
404 bio not found
Member since Nov 9, 2015
Posts:
Replies:
We need to persist the metadata object as well. So one option is to have
bd.webapp.OutboundMessageRequestMetadata Extends (%SerialObject, %JSON.Adaptor)
then with the following %ShowContents (note Write changed to Do to remove status output of 1)
Method %ShowContents(pZenOutput As %Boolean = 0)
{
If $ISOBJECT(..MessageContent) {
Set json = ..MessageContent.%ToJSON()
set formatter = ##class(%JSON.Formatter).%New()
If pZenOutput {
Do formatter.Format(json)
} Else {
Write json
}
}
If $ISOBJECT(..Metadata) {
do ..Metadata.%JSONExportToString(.jsonExport)
set formatter = ##class(%JSON.Formatter).%New()
Write:$ISOBJECT(..MessageContent) ",",!
If pZenOutput {
Do formatter.Format(jsonExport)
} Else {
Write jsonExport
}
}
}
Hi Otto
Yes that is correct:
Ens.Config.Item.GetSetting() does not account for System Default Settings. It just walks the item's Settings list property
Ens.Config.Item.GetModifiedSetting() does account for System Default Settings.
- It walks the item's Settings list property for the setting name and if found returns that value.
- If not found it looks to System Default Settings and if found returns that value.
- If not found it looks to the class code for any initial value specified for the property with that setting name.
Certifications & Credly badges:
James has no Certifications & Credly badges yet.
Global Masters badges:
James has no Global Masters badges yet.
Followers:
Following:
James has not followed anybody yet.
The Ens.MessageHeader has a new property of type FIFOMessageGroup. When this exists for a header the portal pages display of the header (such as when selecting an entry on the Queues page) will show the data fields. One of these fields is QueuedWaitingOnRelease which is a calculated field and will list, if appropriate, the Message Header ID with the same Identifier that is currently work in progress.