Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Feature",
"description": "Start Execution command from AWS Explorer now launches Execution Details after clicking Execute"
}
Loading