diff --git a/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts b/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts index b4e47bc65f6..579005a09a4 100644 --- a/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts +++ b/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts @@ -15,6 +15,7 @@ import { ExtContext } from '../../../shared/extensions' import { VueWebview } from '../../../webviews/main' import * as vscode from 'vscode' import { telemetry } from '../../../shared/telemetry/telemetry' +import { ExecutionDetailProvider } from '../../executionDetails/executionDetailProvider' interface StateMachine { arn: string @@ -61,9 +62,15 @@ export class ExecuteStateMachineWebview extends VueWebview { stateMachineArn: this.stateMachine.arn, input, }) + await ExecutionDetailProvider.openExecutionDetails( + startExecResponse.executionArn!, + startExecResponse.startDate!.toString() + ) this.logger.info('started execution for Step Functions State Machine') this.channel.appendLine(localize('AWS.stepFunctions.executeStateMachine.info.started', 'Execution started')) this.channel.appendLine(startExecResponse.executionArn || '') + + this.dispose() } catch (e) { executeResult = 'Failed' const error = e as Error diff --git a/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json new file mode 100644 index 00000000000..2b0e5cbb431 --- /dev/null +++ b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json @@ -0,0 +1,4 @@ +{ + "type": "Feature", + "description": "[Step Functions] Start Execution option in the AWS Explorer now opens the execution details page after clicking Execute" +}