> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # swmlChangeStep > Transition to a different step within the current conversation context. [contextbuilder]: /docs/server-sdks/reference/typescript/agents/context-builder [functionresult]: /docs/server-sdks/reference/typescript/agents/function-result Transition to a different step within the current conversation context. Steps are defined using [`ContextBuilder`][contextbuilder] and represent discrete stages in a workflow (e.g., "greeting", "verification", "checkout"). ## **Parameters** **`stepName`** `string` — required Name of the step to transition to. --- ## **Returns** [`FunctionResult`][functionresult] -- `this`, for chaining. ## **Example** ```typescript {4} import { FunctionResult } from '@signalwire/sdk'; const result = new FunctionResult() .swmlChangeStep('confirm_order'); ``` > Transition to a different step within the current conversation context.