dynamicdan / sn-filesync

2-way sync ServiceNow field values to local files
MIT License
66 stars 37 forks source link

Fixed issue with search/download and muliple attributes #27

Closed ReedOwens closed 8 years ago

ReedOwens commented 8 years ago

Fixed issue with record with multiple attributes not creating multiple files when mapped.

recordsFound was indexed by the sys_id. When multiple attributes are mapped from a single record, one one file would be created. Changed the index to include the fieldName so that there will be an unique entry for each field to be mapped.