Algo que não fica 100% clarificado no SDK seria a Ordem de Execução de nossas Extensões (Pipeline de Execução), observando a referência do SDK, não fica claro por exemplo em que ordem um real time workflow é executado, não estamos abrangendo as extensões do lado cliente, dentre outros pontos.
Assim realizei alguns testes, fiz a leitura de algumas documentações e cheguei a seguinte conclusão:
1 – JScript Core do CRM
2 – JScript (Síncrono)
3 – Regras de Negócio (Business Process)
4 – Plugin (Síncrono) – Pre Event
5 – Operações (Regras de Negócio) Core do CRM
6 – Plugin (Síncrono) – Post Event
7 – Workflow (Real Time – Síncrono)
Ai você vai me perguntar e se for Assíncrono, certo!? Qualquer processo que seja Assíncrono, será executado após todas as etapas acima!
I have been working with IT since 2006, almost of this time, I was working with Microsoft Dynamics CRM/365 as a source of solutions. I graduated in Bachelor of Information Systems at FIAP (Faculdade de Informatica e Administracao Paulista) in 2012.I really love what I do! Technology has been my interest since always. Even in a world too different of the current one, when we haven't had the internet, tablets, smartphones and social networks!Although I have worked in some different roles, I can't give up "the developer's life". Even knowing that I'm still so far of the greatest developers. Development is the thing that I love to do!I started my contributions with the Microsoft Dynamics community in 2010. At the beginning, I used to help at MSDN and TechNet forums. But now, I'm fully dedicated to this blog!I have the enormous honour of being the only Brazilian who got the award for Microsoft MVP (Most Valuable Professional) for Microsoft Business Applications (Dynamics 365). I have been receiving the award since 2012.In my free time. I like to cook, do some hiking, watch movies/series and when it's possible, travel!
Ver todos os posts de Tiago Michelini Cardoso
Publicado
2 comentários em “CRM 2015 – Ordem de Execução das Extensões (JScripts, Plugins, Worflows)”
Bem legal as informações.
Parabéns mano, sucesso e sempre mostra as novidades pra galera. Valeu.
Bem legal as informações.
Parabéns mano, sucesso e sempre mostra as novidades pra galera. Valeu.
CurtirCurtir
Fala Renatinho,
Blz cara, um abraço!
Tiago
CurtirCurtir