commonfields: id: JoinIfSingleElementOnly version: -1 name: JoinIfSingleElementOnly script: '' type: python subtype: python3 tags: - entirelist - transformer - general comment: Return the single element in case the array has only 1 element in it, otherwise return the whole array. enabled: true args: - name: value required: true default: true description: The array to join if it has single element. isArray: true scripttarget: 0 isllm: false fromversion: 5.0.0 dockerimage: demisto/python3:3.12.13.10404775 tests: - No tests (auto formatted)