You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Directus Flows中读取Read Data操作返回的变量值

Directus Flows读取Read Data结果字段的正确写法
  • 你设置的「Read Data」操作键为read_tablex,在Directus Flows中,这类操作的结果会被存放在$operations对象下,而非直接通过$read_tablex访问。

  • 结合返回的数组结构,正确获取address字段的写法是:

    {{$operations.read_tablex[0].address}}
    
  • 调试建议:可以在Flow中添加「Log to Console」操作,输出{{$operations.read_tablex}},确认返回数据的实际结构,方便后续调整变量写法。

内容的提问来源于stack exchange,提问作者bandungeuy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.17 00:57:32