动力自动化流量在Dynamics365中缺少?
我有一个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
}
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您在解决方案或让您中添加了全部或大部分的云流,则可以使用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.
您可能需要使用以下PS片段来获取所有PA流。 参考
尽管
WorkFlow
表具有存储云流,不确定奇数的能力。它有一些已知的限制围绕解决方案的知识流,该流程开始开发。You may need to use the below PS snippet for getting all PA flows. Reference
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