79223651

Date: 2024-11-25 15:35:07
Score: 2.5
Natty:
Report link

what about this?

%dw 2.0
output application/json
var contentVersionVar = "068DQ000000lK0iYAE"
---
{
    documentItemToSigner: (payload map (item, index) -> {
        typeCd: item."typeCd$(index+1)",
        subtypeCd: item."subtypeCd$(index+1)",
        eSignLiveExtension: {
            extractInd: true // where does this come from?
        },
        documentItemName: item."documentItemName$(index+1)",
        TEMP: item.contentVersion
    }) filter ($.TEMP == contentVersionVar) map ($ - "TEMP")
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Alex Martinez