Skip to content

Commit ff42c41

Browse files
committed
fix(servicenow): remove invalid 'custom' generationType from groupBy wandConfig
'custom' is not a member of the GenerationType union, breaking the build typecheck. No valid type fits a comma-separated field list, so drop the wandConfig (consistent with the block's other field-list inputs).
1 parent 4615046 commit ff42c41

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

apps/sim/blocks/blocks/servicenow.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,6 @@ Output: {"state": "2", "assigned_to": "john.doe", "work_notes": "Assigned and st
248248
placeholder: 'category,priority',
249249
condition: { field: 'operation', value: 'servicenow_aggregate' },
250250
description: 'Comma-separated fields to group results by',
251-
wandConfig: {
252-
enabled: true,
253-
prompt:
254-
'Generate a comma-separated list of ServiceNow field names to group aggregate results by, based on the user request. Use lowercase field names. Return ONLY the comma-separated field names - no explanations, no extra text.',
255-
placeholder: 'Describe how to group the results...',
256-
generationType: 'custom',
257-
},
258251
},
259252
{
260253
id: 'avgFields',

0 commit comments

Comments
 (0)