Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
Zavn86 Frequent Contributor.
Frequent Contributor.
259 views

get CMA in groovy script (adapter OMi)

Hello all! How in the groovy script (adapter OMi) get CMA? For example: in OMi events there is a custo message attribute - AS. How in groovy script to receive value of this attribute?

 

 

Thank you!

Tags (1)
0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Re: get CMA in groovy script (adapter OMi)

I don't understand what you mean by "adapter OMi", but for example in EPI groovy scripts an event's CMA can be easily retrieved as follows:

 myCMA = e.getCustomAttribute('myCMA');

OMi Extensibility guide contains multiple examples of groovy scripts that you may find useful as a reference.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.