Upon further inspection the data sent from the callback Alert Action option is more seriously malformed.
Here is what was delivered in full:
‘callback {alert00 {{Thread status of conn_8 is not up } {{Source conn_8} {CurrentTime {Wed Feb 07 11:34:33 2024}} {SiteName test_jim’
Obviously the leading and trailing single quotes need to be removed but look at the entire string.
I think {{Thread status of conn_8 is not up } should read {{Thread status of conn_8 is not up }} Note the added closing curly brace).
Also {{Source conn_8} should read {{Source conn_8}}.
And lastly, {SiteName test_jim should read {SiteName test_jim}} to close the site name child element and the parent element.
So, I think it should look like this:
‘callback {alert00 {{Thread status of conn_8 is not up }} {{Source conn_8}} {CurrentTime {Wed Feb 07 11:34:33 2024}} {SiteName test_jim}}’
I definitely think this is a bug. Unfortunately, I cannot report this to INFOR so I hope someone who is reading this that can report it will.
Maybe this is a structure I just don’t understand.
I also think it would be better if this data were presented as a structured message format (like a VRL, or HRL, or even XML or JSON) so that the message could naturally flow through the routing and Xlate (or Tcl) via the engine rather than have to apply Tcl code at the IB Tps of the callback target to create a structured message from a list of lists or whatever non-native Cloverleaf message structure this is. Just my .02.
-
This reply was modified 11 months ago by Jim Kosloskey. Reason: Added what I think should be the structure
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.