简体   繁体   English

Power Automate Flow Dataverse 连接器删除触发器 - 自定义正文字段

[英]Power Automate Flow Dataverse Connector Delete trigger - customize Body fields

I am using the Dataverse connector for Microsoft Flow.我正在使用 Microsoft Flow 的 Dataverse 连接器。 I am using the Delete trigger to run my flow whe a row is deleted.我正在使用删除触发器在删除行时运行我的流程。 I then would like to call an 3rd party API, but I need other fields from the row being deleted than is provided in the body of the delete trigger.然后我想打电话给第 3 方 API,但我需要被删除的行中的其他字段,而不是删除触发器正文中提供的字段。

For example, the delete trigger body has the following:例如,删除触发器主体有以下内容:

{
  "id": "<guid>",
  "ItemInternalId": "<guid>",
  "SdkMessage": "Delete",
  "RunAsSystemUserId": "<guid>"
}

But I need field someotherfield from this Entity Table in my logic.但是在我的逻辑中,我需要这个实体表中的someotherfield But I can't query it from the "id" field, because the row was just deleted.但是我无法从“id”字段中查询它,因为该行刚刚被删除。 Can I customize what is passed in the body somehow?我可以自定义以某种方式传递到体内的内容吗?

You can't modify the body.你不能修改身体。 Are the rows being deleted via the Maker Portal, or through an app/flow?行是通过 Maker Portal 还是通过应用程序/流程删除的? If so, you could send the required information to your flow before actually removing the row.如果是这样,您可以在实际删除该行之前将所需信息发送到您的流程。 It all depends on where you want to do that.这完全取决于你想在哪里做。

You can enforce people to not remove manually, by taking away their delete rights btw.顺便说一句,您可以通过取消他们的删除权来强制人们不要手动删除。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Business Process Flow Next Stage 按钮触发电源自动化流程 - Trigger power automate flow with Business Process Flow Next Stage button 使用 dataverse 虚拟表运行 Power Automate - Running Power Automate with dataverse virtual tables 有没有一种方法可以捕获 Dataverse 表中已更改的内容并使用 Power Automate 流程相应地更新 sharepoint 列表 - Is there a way to capture what have been changed inside Dataverse tables and update sharepoint lists accordingly using Power Automate flow 来自 SharePoint 列表项的 Trigger Power Automate 流程 - Trigger Power Automate flow from SharePoint list item 电源自动化流顺序 - Power Automate Flow Order Power Automate - Flow 在解决方案中不起作用 - Power Automate - Flow not working in a solution 在 Power Automate 中创建通用流程 - Create a generic flow in Power Automate 如何使用 Canvas 应用程序在特定时间(而非计划)触发 Power 自动化流程? - How to trigger a Power automate flow at a specific time (not schedule) using Canvas app? Power Automate 流程不会触发已存在文件的“复制到”操作 - Power Automate flow won't trigger for "Copy To" action for already existing files azure blob 连接器在电源自动化中的问题 - issue with azure blob connector in power automate
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM