【问题标题】:get the results of the "run after" in Logic App在 Logic App 中获取“run after”的结果
【发布时间】:2021-09-01 13:17:07
【问题描述】:

我有一个运行 Azure Function 的步骤 UpdateJobListingFromSilkroad。 下一步是给自己发电子邮件,以了解它是否失败。 我将“运行后”设置为所有 4 个选项。 在电子邮件正文中,我想获得“追赶”的结果 所以我找到了结果函数。 输入 result() 时无法保存,因为“模板语言函数‘result’必须至少有一个参数。” 所以我尝试了 result(UpdateJobListingFromSilkroad) 它告诉我它是无效的 result("UpdateJobListingFromSilkroad") 但结果('UpdateJobListingFromSilkroad')有效但保存显示错误:

at line '1 and column '345' references the action 'UpdateJobListingFromSilkroad' 
of type 'Function': 
only the actions of type
'System.Linq.Enumerable+WhereSelectArrayIterator`2[Microsoft.Azure.Workflows.Templates.Schema.FlowTemplateOperationType,System.String]' are allowed to be referenced by 'result' function. '.

那么我如何得到结果呢?

【问题讨论】:

  • 这么简单的事情开销太大

标签: azure-logic-apps


【解决方案1】:

尝试将您的操作 UpdateJobListingFromSilkroad 放在 Scope 中。然后取范围的结果。 请在此处查看更多详细信息http://johnliu.net/blog/2018/9/the-curious-tale-of-the-result-function-in-flow-logicapps

【讨论】:

  • 虽然此链接可能会回答问题,但最好在此处包含答案的基本部分并提供链接以供参考。如果链接页面发生更改,仅链接答案可能会失效。 - From Review
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2022-12-02
  • 2020-01-28
  • 2022-12-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多