diff --git a/web/app/components/workflow/panel/global-variable-panel/index.tsx b/web/app/components/workflow/panel/global-variable-panel/index.tsx index a421a1605a..6a455cf571 100644 --- a/web/app/components/workflow/panel/global-variable-panel/index.tsx +++ b/web/app/components/workflow/panel/global-variable-panel/index.tsx @@ -52,7 +52,7 @@ const Panel = () => { // is workflow ...((isWorkflowPage && !isChatMode) ? [{ name: 'timestamp', - value_type: 'number' as const, + value_type: 'integer' as const, description: t('workflow.globalVar.fieldsDescription.triggerTimestamp'), }] : []), ] diff --git a/web/app/components/workflow/types.ts b/web/app/components/workflow/types.ts index 5fa6e80512..5ae8d530a8 100644 --- a/web/app/components/workflow/types.ts +++ b/web/app/components/workflow/types.ts @@ -178,7 +178,7 @@ export type ConversationVariable = { export type GlobalVariable = { name: string - value_type: 'string' | 'number' + value_type: 'string' | 'number' | 'integer' description: string }