简体   繁体   English

CRM 365 工作流程和从 Excel 导入数据文件

[英]CRM 365 Workflows and importing data file from Excel

When designing Workflows you have a chance to indicate how it is triggered.在设计工作流程时,您有机会指出它是如何被触发的。 In my particular case I am interested to detect changes in the Status Reason and, for specific states, do something.在我的特殊情况下,我有兴趣检测状态原因的变化,并针对特定状态做一些事情。 I can use the "After" filed change on the Status Reason or a Wait condition and everything looks to be OK.我可以在状态原因或等待条件上使用“之后”提交的更改,一切看起来都很好。

The question I have is in the relation to an Excel Export/Import used for bulk operations.我的问题与用于批量操作的 Excel 导出/导入有关。 In this case the user can change (using Excel) the Status Reason field to a value matching the condition in the workflow.在这种情况下,用户可以(使用 Excel)将状态原因字段更改为与工作流中的条件匹配的值。 Assuming the workflow is Activated at the time of Excel import, does the workflow get triggered for every row imported?假设工作流在 Excel 导入时被激活,工作流是否会为导入的每一行触发? It might be very inefficient from a timing perspective but for small data sets might be beneficial and acting as a bulk update, which in fact I am looking for.从时间的角度来看,它可能非常低效,但对于小型数据集可能是有益的并且可以作为批量更新,这实际上是我正在寻找的。

Thank you!谢谢!

For your question,对于你的问题,

Yes workflow does get triggered every time you Import data using Excel and it matches the criteria for your Workflow.是的,每次您使用 Excel 导入数据时都会触发工作流程,并且它符合您的工作流程的标准。

Workflow run on server side that means, they will trigger every time value changes in Database and matches criteria.工作流在服务器端运行,这意味着每次数据库中的值更改并匹配条件时它们都会触发。 You could run your workflow in asynchronous mode and Crm Async job will take care of allocating resources as and when it has capacity.您可以在异步模式下运行您的工作流,并且 Crm Async 作业将在有容量时负责分配资源。 In this way you will not see performance impact when you Import data via Excel.这样,当您通过 Excel 导入数据时,您不会看到性能影响。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM