Recently, We were asked to log the MEC errors to a custom API. MEC process ID was required to be passed into this API as an input parameter.
You can verify the UUID from the LifeCycle Manager.
Please note that the ManifestConstants class contains only the names of the properties.
You can verify the UUID from the LifeCycle Manager.
Using the below code, we could retrieve the UUID inside from the MEC mapper. (g_MapUUID is a global variable)
g_MapUUID = com.intentia.ec.mapper.Mapping.this.strUUID;
this variable can be even directly access as below.
g_MapUUID = strUUID;
or you can get this by using the manifest and global.
g_MapUUID = getManifestInfo(ManifestConstants.CMN_UUID);
Please note that the ManifestConstants class contains only the names of the properties.
No comments:
Post a Comment