You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Need to extract string from OM Header EFF and push to OSMC Custom field on header

Summary:

Hi Team,

There is requirement to extract a part of string from OM Header EFF and push to OSMC Custom field on header.

Example:

Order EFF Header

Subs Header

CCTOKen

GPID

AMEX|9.99|AD44369-CACA-4045-9FC5-DC86A3E8F687|9483928|SUCCESS.

AD44369-CACA-4045-9FC5-DC86A3E8F687

The requirement is to extract the string between second and third pipe character and publish on OSMC custom field.

Can you help with the groovy to achieve this.

Note: The string position is not fixed.

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!