mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Add notice when user hits the limit for execution metadata item length (#12676)
This commit is contained in:
@@ -83,6 +83,22 @@ export class ExecutionData implements INodeType {
|
||||
],
|
||||
},
|
||||
],
|
||||
hints: [
|
||||
{
|
||||
type: 'warning',
|
||||
message: 'Some keys are longer than 50 characters. They will be truncated.',
|
||||
displayCondition: '={{ $parameter.dataToSave.values.some((x) => x.key.length > 50) }}',
|
||||
whenToDisplay: 'beforeExecution',
|
||||
location: 'outputPane',
|
||||
},
|
||||
{
|
||||
type: 'warning',
|
||||
message: 'Some values are longer than 512 characters. They will be truncated.',
|
||||
displayCondition: '={{ $parameter.dataToSave.values.some((x) => x.value.length > 512) }}',
|
||||
whenToDisplay: 'beforeExecution',
|
||||
location: 'outputPane',
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
|
||||
Reference in New Issue
Block a user