diff --git a/src/utils/index.ts b/src/utils/index.ts index b892d3d7..512c763b 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -236,9 +236,12 @@ const convertValue = (parameter: any) => { try { if(parameter.type === 'Map' || parameter.type === 'List' || parameter.type === 'Object') { return JSON.parse(value) - } else { + } else if(parameter.type === 'String' || parameter.type === 'Date' || parameter.type === 'Time') { return value } + else { + return JSON.parse(value); + } } catch { logger.error('Unable to parse the defined value', value) return value;