What are the variables in UIM that i can use in a json file for the messagegtw
search cancel

What are the variables in UIM that i can use in a json file for the messagegtw

book

Article ID: 185975

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

Is there a doc that shows all the variables that I can put in to a json file? An example of a variable that I found is:

     message.udata.nimts

Specifically, I'm looking for a way to get the above variable into a different time format. The time format for the above variable is EPOC time and I want yyy-MM-dd HH:mm:ss. I still want the list of all the variables that are possible.

Another option is to let me know a different variable than the one above that would show me the arrival time of the event in the format yyy-MM-dd HH:mm:ss GMT

Environment

  • Release : 9.2.0 or higher
  • Component : UIM - HUB
  • messagegtw probe v1.30

Resolution

messagegtw probe does not currently support date/time message variables that are compatible with integrating with ServiceNow. 

This would require an enhancement.

messagegtw v1.30 functionality is constrained to what the webhook action sends as a message. The available variables are dependent on what the message contains.

The nas probe webhook action may need an enhancement request for the nas probe webhook action to include the readable timestamps.

Options:

Epoch Date conversion
You can run functions on variables and convert the EPOC to mm/dd/yyyy hh:mm:ss 

https://community.servicenow.com/community?id=community_question&sys_id=22a45c2bdbbad7c0e0e80b55ca9619bd


https://community.servicenow.com/community?id=community_question&sys_id=a12d84ffdbe71740a39a0b55ca961924

It may be helpful to enter a post in the ServiceNow community to see if there is some way of converting the EPOCH time to Human readable time.