我正在尝试从格式化的列调用Power Automate Instant Flow。我的灵感来自这篇文章-- https://www.inspiribytes.com/power-automate/deploying-a-single-flow-to-multiple-sharepoint-libraries-lists/
我用json设置了这个列:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"0aa2105b-755e-4017-aac8-b1b823ea96d1\"}"
},
"attributes": {
"class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
},
"style": {
"border": "none",
"background-color": "transparent",
"cursor": "pointer"
},
"children": [
{
"elmType": "span",
"attributes": {
"iconName": "Flow"
},
"style": {
"padding-right": "6px"
}
},
{
"elmType": "span",
"txtContent": "Start Approval"
}
]
}我创建了我的Instant,记录了FLow中的ID,并更改了格式化列中的JSON以匹配。
当我点击按钮时,我看到一条消息说“正在设置”--点击它,它只是说“等待”。
当我查看开发人员控制台时,我看到以下消息:
所以我收到了一个不好的请求,但我找不出原因。除了工作流的ID之外,似乎没有任何其他我应该设置的参数。
发布于 2021-08-06 07:11:42
在我的测试中,我不能重现你的问题。



您的JSON代码没有问题。我建议你提供你的流程的截图,这将帮助我们更好地解决问题。
https://stackoverflow.com/questions/68641613
复制相似问题