Skip to content

Commit 1ea6d2f

Browse files
waleedlatif1claude
andcommitted
fix(ashby): add subblock migration for removed filterCandidateId
Add SUBBLOCK_ID_MIGRATIONS entry so deployed workflows that previously used the `filterCandidateId` subBlock on `list_applications` don't break after the field was removed (Ashby's application.list doesn't filter by candidateId). Also regenerate docs to sync noteId removal. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent eed3094 commit 1ea6d2f

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

apps/docs/content/docs/en/tools/ashby.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Adds a tag to a candidate in Ashby and returns the updated candidate.
7676
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
7777
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
7878
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
79-
| `noteId` | string | Created note UUID |
8079
| `content` | string | Note content |
8180
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
8281
| `isPrivate` | boolean | Whether the note is private |
@@ -126,7 +125,6 @@ Moves an application to a different interview stage. Requires an archive reason
126125
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
127126
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
128127
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
129-
| `noteId` | string | Created note UUID |
130128
| `content` | string | Note content |
131129
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
132130
| `isPrivate` | boolean | Whether the note is private |
@@ -180,7 +178,6 @@ Creates a new application for a candidate on a job. Optionally specify interview
180178
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
181179
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
182180
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
183-
| `noteId` | string | Created note UUID |
184181
| `content` | string | Note content |
185182
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
186183
| `isPrivate` | boolean | Whether the note is private |
@@ -233,7 +230,6 @@ Creates a new candidate record in Ashby.
233230
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
234231
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
235232
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
236-
| `noteId` | string | Created note UUID |
237233
| `content` | string | Note content |
238234
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
239235
| `isPrivate` | boolean | Whether the note is private |
@@ -309,7 +305,6 @@ Retrieves full details about a single application by its ID.
309305
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
310306
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
311307
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
312-
| `noteId` | string | Created note UUID |
313308
| `content` | string | Note content |
314309
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
315310
| `isPrivate` | boolean | Whether the note is private |
@@ -357,7 +352,6 @@ Retrieves full details about a single candidate by their ID.
357352
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
358353
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
359354
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
360-
| `noteId` | string | Created note UUID |
361355
| `content` | string | Note content |
362356
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
363357
| `isPrivate` | boolean | Whether the note is private |
@@ -405,7 +399,6 @@ Retrieves full details about a single job by its ID.
405399
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
406400
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
407401
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
408-
| `noteId` | string | Created note UUID |
409402
| `content` | string | Note content |
410403
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
411404
| `isPrivate` | boolean | Whether the note is private |
@@ -523,7 +516,6 @@ Retrieves full details about a single offer by its ID.
523516
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
524517
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
525518
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
526-
| `noteId` | string | Created note UUID |
527519
| `content` | string | Note content |
528520
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
529521
| `isPrivate` | boolean | Whether the note is private |
@@ -951,7 +943,6 @@ Removes a tag from a candidate in Ashby and returns the updated candidate.
951943
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
952944
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
953945
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
954-
| `noteId` | string | Created note UUID |
955946
| `content` | string | Note content |
956947
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
957948
| `isPrivate` | boolean | Whether the note is private |
@@ -1024,7 +1015,6 @@ Updates an existing candidate record in Ashby. Only provided fields are changed.
10241015
| `application` | json | Application details \(id, status, customFields\[\], candidate, currentInterviewStage, source, archiveReason, job, hiringTeam\[\], createdAt, updatedAt\) |
10251016
| `offer` | json | Offer details \(id, decidedAt, applicationId, acceptanceStatus, offerStatus, latestVersion\) |
10261017
| `jobPosting` | json | Job posting details \(id, title, descriptionPlain, descriptionHtml, descriptionSocial, descriptionParts, departmentName, teamName, teamNameHierarchy\[\], jobId, locationName, locationIds, linkedData, address, isRemote, workplaceType, employmentType, isListed, publishedDate, applicationDeadline, externalLink, applyLink, compensation, updatedAt\) |
1027-
| `noteId` | string | Created note UUID |
10281018
| `content` | string | Note content |
10291019
| `author` | json | Note author \(id, firstName, lastName, email, globalRole, isEnabled\) |
10301020
| `isPrivate` | boolean | Whether the note is private |

apps/sim/lib/workflows/migrations/subblock-migrations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export const SUBBLOCK_ID_MIGRATIONS: Record<string, Record<string, string>> = {
3434
ashby: {
3535
emailType: '_removed_emailType',
3636
phoneType: '_removed_phoneType',
37+
filterCandidateId: '_removed_filterCandidateId',
3738
},
3839
rippling: {
3940
action: '_removed_action',

0 commit comments

Comments
 (0)