Skip to content

Commit 0169ebd

Browse files
committed
AP-8233 # Added taskIsAdhoc option when uploading form submissions
1 parent aaca082 commit 0169ebd

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- `taskIsAdhoc` option to `OneBlinkUploader.uploadSubmission()`
13+
1014
## [7.0.0] - 2026-04-23
1115

1216
### Added

src/OneBlinkUploader.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default class OneBlinkUploader {
7676
taskActionId,
7777
taskGroupInstanceId,
7878
taskCompletionTimestamp,
79+
taskIsAdhoc,
7980
formSubmissionDraftId,
8081
completionTimestamp,
8182
recaptchas = [],
@@ -130,6 +131,7 @@ export default class OneBlinkUploader {
130131
taskActionId,
131132
taskGroupInstanceId,
132133
taskCompletionTimestamp,
134+
taskIsAdhoc,
133135
jobId,
134136
previousFormSubmissionApprovalId,
135137
recaptchas,

src/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ export type UploadFormSubmissionOptions = UploadOptions & {
6161
taskGroupInstanceId?: string
6262
/** The date and time (in ISO format) the task was completed */
6363
taskCompletionTimestamp?: string
64+
/**
65+
* `true` if the task is being completed outside of its schedule or `false` if
66+
* the task was scheduled to be completed
67+
*/
68+
taskIsAdhoc?: boolean
6469
}
6570

6671
export type UploadAssetOptions = UploadOptions & {

0 commit comments

Comments
 (0)