XSL in OIC Mapper to Loop Payload and Set Target - Not Working
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">
Tagged:
0