Using the Output JSON data returned from a nested Step Function

前端 未结 2 683
忘了有多久
忘了有多久 2021-01-05 15:56

Im creating a POC with nested Step Functions (SF) and have hit the following issue.

  • I have SF A that has a sync task that starts the execution of SF B (using t
相关标签:
2条回答
  • 2021-01-05 16:31

    I ran into the same issue. I used "OutputPath": "$.Output" at first and that returned the escaped json. I removed that and added "ResultPath": "$.Output", This works, it returns the output as json including the escaped version. Its ok for now until AWS addresses this.

    0 讨论(0)
  • 2021-01-05 16:45

    Not sure it's new since you asked the question but the answer is in the link you provided: Use "arn:aws:states:::states:startExecution.sync:2" in the task resource field instead of "arn:aws:states:::states:startExecution.sync"

    0 讨论(0)
提交回复
热议问题