title: How to specify multiple result path values in AWS Step Functions
body: <p>I have a AWS Step Function State formatted as follows:</p>
  
  <pre><code>"MyState": {
    "Type": "Task",
    "Resource": "&lt;MyLambdaARN&gt;",
    "ResultPath": "$.value1"
    "Next": "NextState"
  }
  </code></pre>
  
  <p>I want to add a second value but can't find out how anywhere. None of the AWS examples display multiple ResultPath values being added to the output. </p>
  
  <p>Would I just add a comma between them?</p>
  
  <pre><code>"MyState": {
    "Type": "Task",
    "Resource": "&lt;MyLambdaARN&gt;",
    "ResultPath": "$.value1, $.value2"
    "Next": "NextState"
  }
  </code></pre>
  
  <p>Or is there a better way to format these?</p>