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

XSL in OIC Mapper to Loop Payload and Set Target - Not Working

edited Jun 21, 2024 7:29PM in Integrations and Extensions 3 comments

I have been stuck on this issue for hours and keep getting this error: 'Translation to native failed. The data does not conform to the NXSD schema'.

I have a source payload that maps to a csv target. I loop through the payload and need a conditional statement that states, if Name = 'SalaryAmount' or Name = 'HourlySalariedCode' or Name = 'NormalHours', then set a hardcoded value of 'CHG' to the target field, Compensation_Change_Reason coulmn.

I tried a variety of different approaches but none seem to work. Below are a couple examples.

1.

<xsl:for-each select="$Current_Update/nsmpr2:entry/nsmpr2:ChangedAttributes">

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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