Skip to content

Commit 041cd87

Browse files
committed
Added settings to batch trigger service, before major overhaul
1 parent 7038f4c commit 041cd87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/webapp/app/v3/services/batchTriggerV3.server.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,13 +825,15 @@ export class BatchTriggerV3Service extends WithRunEngine {
825825
...task.item.options,
826826
parentRunId,
827827
resumeParentOnCompletion,
828+
parentBatch: batch.id,
828829
},
829830
},
830831
{
831832
triggerVersion: options?.triggerVersion,
832833
traceContext: options?.traceContext,
833834
spanParentAsLink: options?.spanParentAsLink,
834-
batchId: batch.friendlyId,
835+
batchId: batch.id,
836+
batchIndex: currentIndex,
835837
skipChecks: true,
836838
runFriendlyId: task.runFriendlyId,
837839
},

0 commit comments

Comments
 (0)