动力自动化流量在Dynamics365中缺少?

发布于 2025-02-10 18:42:35 字数 1564 浏览 3 评论 0 原文

我有一个powershell脚本来获取有关电源自动流量的信息。我了解到,其中一些流没有工作流程(或WorkflowentityId)。失败的似乎是随机的。它们在不同的环境中,启用和禁用,并具有不同的创建者/所有者。

我去查看了CRM表(?我是这个IT领域的新手,所以请原谅任何错误的术语),网址为 https://myenvironment.crm.dynamics.com/api/data/data/v9.1/workflows ,这些流不在此表中。我很困惑。有建议吗?

故障排除脚本:

$Flowids = $null
$NOids=$null
$NOids=@()
$flowids = @()
$flowarray = $null
$flowarray = @()
$environment = Get-FlowEnvironment -EnvironmentName Default-d67fa8sd7f-e8f76ds7sa-98ds7f-98af7

        $flows = get-adminflow -EnvironmentName $environment.environmentname 
        Foreach($flow in $flows)
                        {
                           Get-AdminFlow -EnvironmentName $environment.environmentname -FlowName $flow.flowname
                           $Result = New-object PSOBJECT
                           $result | Add-Member -MemberType NoteProperty -name "Name" -value $flow.DisplayName
                           $result | Add-Member -MemberType NoteProperty -name "workflowid" -value $flow.internal.properties.workflowentityid
                           $flowarray += $result
                           if($flow.internal.properties.workflowentityid -ne $null)
                            {
                                $Flowids += $flow.internal.properties.workflowentityid
                            }
                         if($flow.internal.properties.workflowentityid -eq $null)
                            {
                                $NOids += $flow.displayname
                            }
                        }
    

I have a PowerShell script to get information on Power Automate Flows. I learned that some of the flows do not have a WorkflowID (or workflowentityid). The failing ones seem random. They're in different environments, enabled and disabled, and have different creators/owners.

I went to view the CRM table (? I'm new to this IT area, so please pardon any wrong terminology) at https://myenvironment.crm.dynamics.com/api/data/v9.1/workflows and these flows aren't in this table. I am very confused. Any advice?

Troubleshooting Script:

$Flowids = $null
$NOids=$null
$NOids=@()
$flowids = @()
$flowarray = $null
$flowarray = @()
$environment = Get-FlowEnvironment -EnvironmentName Default-d67fa8sd7f-e8f76ds7sa-98ds7f-98af7

        $flows = get-adminflow -EnvironmentName $environment.environmentname 
        Foreach($flow in $flows)
                        {
                           Get-AdminFlow -EnvironmentName $environment.environmentname -FlowName $flow.flowname
                           $Result = New-object PSOBJECT
                           $result | Add-Member -MemberType NoteProperty -name "Name" -value $flow.DisplayName
                           $result | Add-Member -MemberType NoteProperty -name "workflowid" -value $flow.internal.properties.workflowentityid
                           $flowarray += $result
                           if($flow.internal.properties.workflowentityid -ne $null)
                            {
                                $Flowids += $flow.internal.properties.workflowentityid
                            }
                         if($flow.internal.properties.workflowentityid -eq $null)
                            {
                                $NOids += $flow.displayname
                            }
                        }
    

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

孤独患者 2025-02-17 18:42:35

如果您在解决方案或让您中添加了全部或大部分的云流,则可以使用make.powerapps.com,然后选择您的环境,然后默认解决方案,您将在那里提交云流部分,您应该能够找到大多数你的流程。

另一种方法是参观
https://emea.flow.microsoft.com/ ,然后选择您的环境,然后在您内部进行您的环境可以找到您的流量,只要您要登录的用户是所有者,或者与登录用户共享流程。

If you have all or most of your cloud flows added in solution or in envorinment, you can go make.powerapps.com and then select your enviornment and then default solution, there you will file clouds flows section and you should be able to find most of your flows.

Another way would be to visit
https://emea.flow.microsoft.com/ and then select your environment and there in you could find your flows, provided the user you are logging is either owner or flow is shared with logged in user.

匿名的好友 2025-02-17 18:42:35

您可能需要使用以下PS片段来获取所有PA流。 参考

Get-AdminFlow

尽管 WorkFlow 表具有存储云流,不确定奇数的能力。它有一些已知的限制围绕解决方案的知识流,该流程开始开发。

You may need to use the below PS snippet for getting all PA flows. Reference

Get-AdminFlow

Though the Workflow table has the ability to store the Cloud flows, not sure about the parity. It has some known limitations around solution aware flows, where it was started developed in first place. Read more

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文