[英]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.