> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowforma.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetStepByStepCode

> Use GetStepByStepCode to retrieve a FlowForma step from an entity picker value in either the FlowContext or FormContext when building custom rules.

## Function

FlowForma.FlowContext.GetStepByStepCode(pickerValue)

FlowForma.FormContext.GetStepByStepCode(pickerValue)

## Description

This function gets FlowForma question value that was saved in the form.

## Variables

**pickerValue:**

*Format* - Stringified JSON object. (Example: `'{"StepCode":"step1","QuestionCode":"step1.1","Type":"question","SubQuestionCode":null,"StepId":1,"QuestionId":1}'`).

*Description* – Using this select the correct step.
