Dynamics of the announcement 365 (Post) analysis

I am a Microsoft Dynamics 365 & Power Platform aspects engineer Rayong, Microsoft Most Valuable Professional is the July 2015 to June 2018 for three consecutive years Dynamics CRM / Business Solutions aspects (Microsoft MVP), I welcome the attention of the public micro-channel number MSFTDynamics365erLuoYong, reply or 20,191,202 382 may facilitate access to this article, but you can get the latest information I Bowen issued in the first room, follow me!

Announcement functions like microblogging function, but there are automatically sent notice of the function, I had written the article, Activity Feeds.

Feature is enabled by default announcement follows a list of entities, custom entity is not enabled by default.

 

Enabled by default there are 28 active source rule, as follows

 

Then I went to the next test, I created a client, will be added to the records associated with a customer in the Post entity, PostRegarding entity associated with a new record to the client to, PostRole in two new records were linked to create a customer, the customer's system to create users.

I create a new case, a new record will be linked to this case in the Post entity, PostRegarding entity associated with a new record to this case, PostRole entity new three records, which recorded three cases are linked to, case associated with the customer, the customer's system to create users.

If I put [the customer's] new cases of active source rule to disable this case, the new case to customers will not create Post and its related records, and other do similar understanding.

 

If [assigned to the user / group of cases] rule is enabled, the case will be assigned a new record in the Post entity related to this case, PostRegarding entity associated with a new record to this case, PostRole entity Add three records, which recorded three cases are linked to the original person in charge of the new person in charge of the case, the case of (former head of guessing here).

How do I disable an entity Post function it is recommended that you deactivate the active source rule related entities.

 

 Then disable related activities source configuration, and then publish the entity.

 

 You can not see the announcement of the show.

 

如果删除Post记录,其关联的记录都会立即删除吗?答案是不尽然,如下几个关联的实体记录会立即删除,因为关系是ParentChild。

 

 

但是其关联的另外实体 PostRegarding 相关记录不会立即删除,有个系统作业(AsyncOperationType = 14)来删除它,可以参考 Dynamics CRM 2011 DeletionService Async Maintenance Operation Demystified ,对于On-Premise的Dynamics 365 Customer Engagement如何手工跑一下这个系统作业可以参考我的博文:Dynamics CRM中一个查找字段引发的【血案】 。我这里执行的参考SQL如下,注意这个更改不会更改该系统作业往后的运行时间,若要更改还需要更改RecurrenceStartTime字段的值。

Select NextRunTime,RecurrenceStartTime,* 
from MSCRM_CONFIG.dbo.ScaleGroupOrganizationMaintenanceJobs 
where OperationType = 14

update MSCRM_CONFIG.dbo.ScaleGroupOrganizationMaintenanceJobs 
set NextRunTime = '2019-12-02 03:30:20.707'
where OperationType = 14

 

使用Web API来查询Post和普通实体一样,类似 https://demo.luoyong.me/api/data/v9.0/posts 。

 

如果使用FetchXml  (高级查找来判断),可以看到能使用的查询条件不多。

 

Guess you like

Origin www.cnblogs.com/luoyong0201/p/Dynamics_365_Posts_Analyse.html