通过 Power Automate 更新后,SharePoint 列表不断闪烁

Sharepoint list keeps blinking after updating through Power Automate

提问人:Marcelo Marcolino 提问时间:9/19/2023 更新时间:9/19/2023 访问量:25

问:

我设法从 Power Apps 窗体流向 power automate,这应该更新 sharepoint 列表。Start of flowInitializing variablesOther variablesStart of try, creating array of input [![使用以下架构分析 JSON

{
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "DefaultDesc1": {},
            "DefaultDesc2": {},
            "DefaultDesc3": {},
            "DefaultDesc4": {},
            "DefaultDesc5": {},
            "DefaultUrl1": {},
            "DefaultUrl2": {},
            "DefaultUrl3": {},
            "DefaultUrl4": {},
            "DefaultUrl5": {},
            "DescLR1": {
                "type": "string"
            },
            "DescLR2": {
                "type": "string"
            },
            "DescLR3": {
                "type": "string"
            },
            "DescLR4": {
                "type": "string"
            },
            "DescLR5": {
                "type": "string"
            },
            "ItemId": {
                "type": "integer"
            },
            "UrlLR1": {
                "type": "string"
            },
            "UrlLR2": {
                "type": "string"
            },
            "UrlLR3": {
                "type": "string"
            },
            "UrlLR4": {
                "type": "string"
            },
            "UrlLR5": {
                "type": "string"
            }
        },
        "required": [
            "DefaultDesc1",
            "DefaultDesc2",
            "DefaultDesc3",
            "DefaultDesc4",
            "DefaultDesc5",
            "DefaultUrl1",
            "DefaultUrl2",
            "DefaultUrl3",
            "DefaultUrl4",
            "DefaultUrl5",
            "DescLR1",
            "DescLR2",
            "DescLR3",
            "DescLR4",
            "DescLR5",
            "ItemId",
            "UrlLR1",
            "UrlLR2",
            "UrlLR3",
            "UrlLR4",
            "UrlLR5"
        ]
    }
}

](https://i.stack.imgur.com/RRZiS.png)](https://i.stack.imgur.com/RRZiS.pngIf the variable is different from the one found inside the list by default, then update the value of the arrayRepeating the process for other variablesRepeating the process for other variablesRepeating the process for other variables[![使用正文向 SharePoint 发送 HTTP 请求

{
    "Legisla_x00e7__x00e3_o_x0020_Ref": {
        "Url": "@{variables('UrlLR1')}",
        "Description": "@{variables('DescLR1')}"
    },
    "Legisla_x00e7__x00e3_o_x0020_Ref0": {
        "Url": "@{variables('UrlLR2')}",
        "Description": "@{variables('DescLR2')}"
    },
    "Legisla_x00e7__x00e3_o_x0020_Ref1": {
        "Url": "@{variables('UrlLR3')}",
        "Description": "@{variables('DescLR3')}"
    },
    "Legisla_x00e7__x00e3_o_x0020_Ref2": {
        "Url": "@{variables('UrlLR4')}",
        "Description": "@{variables('DescLR4')}"
    },
    "Legisla_x00e7__x00e3_o_x0020_Ref3": {
        "Url": "@{variables('UrlLR5')}",
        "Description": "@{variables('DescLR5')}"
    }
}

](https://i.stack.imgur.com/wbHGv.png)](https://i.stack.imgur.com/wbHGv.pngContinuation of HTTP RequestCatch that fires off if Try fails[![发送电子邮件详细说明错误,带有正文

<style>
table, td, th {
    border: 1px solid #ddd;
    text-align: left;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 15px;
}
</style>
<p>@{body('Criar_Tabela_HTML')}</p>
<a href='@{concat('https://make.powerautomate.com/environments/', workflow()?['tags']['environmentName'],'/flows/',workflow()?['name'],'/runs/',workflow()?['run']['name'])}'>Check flow Run</a>
</p>

](https://i.stack.imgur.com/Z0170.png)](https://i.stack.imgur.com/Z0170.png)Terminates the flow

进行了更改,但是列表本身会一直闪烁,直到我重新加载页面。 列表本身的内容已正确更新。 问题在于,在 SharePoint 中,在我提交列表 A 的表单后,该列表不断来回闪烁,就好像它试图加载内容一样。 该流负责更改超链接的描述。 我什至不知道我应该在哪里解决这个问题。

JSON 列表 SharePoint 超链接 power-automate

评论


答: 暂无答案