Featured Post

Dynamics 365 - Business Process Flow and Things to take note before you upgrade into Dynamics 365.

In 2 months ago, my company decided to upgrade the Dynamics CRM 2016 into Dynamics 365 and there is something different about Dynamics 365 B...

Saturday, October 28, 2017

Dynamics 365 - Business Process Flow and Things to take note before you upgrade into Dynamics 365.

In 2 months ago, my company decided to upgrade the Dynamics CRM 2016 into Dynamics 365 and there is something different about Dynamics 365 Business Process Flows and here are what you need to know so that you don't get trouble when it is your turn.

Before VS Now

Before

Previously when a BPF was started, all the information regarding the BPF was stored within the record itself.

1. ProcessId

  •    ID of BPF


2. StageId

  •    The ID of the BPF that was active.


3. TravesedPath

  •     A comma separated string listing the GUIDs of curret path (StageId) of steps taken through the  BPF. 


Now

With Dynamics 365, the Business Process Flows (BPFs) are now created as Entity and stored as entity records. Instance details are no longer held as fields on the associated record.


  1. Active Stage Id                
    - The ID of the BPF step that is active.
  2. Activate Stage Started On
    - The Date Time that the current step was started on.
  3. State & Status                  
    - Each BPF Instance has its own state that allows finishing and   abandoning before other BPF are run.
  4. Process
    - The ID of the BPF.


BPFs Privilege

In Previous Version of CRM,  you have controlled which roles could access your BPF by clicking "Enable Security Role".

With Dynamics 365 , it has more flexibility to deal with security role.


Workflow within Business Process Flow

With Dynamics 365, you now able to attached workflow within Business Process Flow.



Parallel Business Process Flows

As parallel business feature is introduced in Dynamics 365,  users are allowed to work in same record with different Business Process Flows (BPFs) at the same time and the good news is switching BPFs no longer overwrites the previous active step , meaning that when you switch back to a precious started BPF and it will stay where you left them.

DEMO 


Now we created a record using User 1. As from the below picture, the BPF is using Opportunity Sale Process.

 Now opened the record as another user. The record shown as Opportunity Sales Process also.


Now we switched the process into Opportunity Sales Process 2 using another User.

The user who switched the process see Opportunity Sales Process 2

But, how about the User 1? The answer is Opportunity Sales Process.

oh.. By the way you can identify the BPF through here


Things to ask yourself and discuss with management before upgrade into Dynamics 365.

Is your company ready for this?

  • please discuss with your management regarding this changes especially the parallel BPF feature.
No, my company does not want parallel BPF feature, are we able to turn off this feature?

  • The answer is "No" !!!
is there any alternative ways to manipulate the parallel behavior ?

  • The answer is "Yes" , but not a perfect solution at this moment.

Alternative Solution 
1. Create a plugin, under pre-validate stage, loop through the user, and run the context of user and switch the process programatically
  • but what if your company has thousand of users ? which causing extremely slowness on performance as well as time consuming.
  • Not recommended.

2. Create a plugin or workflow activity, trigger when user switch the process and check is there any other BPFs is running? if yes , delete them. But...

  • you are no longer have the ability to switch to previous started BPF with correct stage. meaning it always go back to first stage.
3. Make sure your user abandon the process before switching to another process. When another user open the record and seeing the abandoned process, they should switch to the newly started active BPF.


  • more clicks and most likely user will not take this solution into account.



Maybe there are more workarounds, but at the mean time my team and I only can think of these solutions . 

I hope this will help you to understand more about the new BPF feature in Dynamics 365 and Happy CRM-ing.


14 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Amazing information that you have shared with us, your blog is really full of knowledge about business analyst. This amazingly help me to understand Microsoft consultant skills. Thank you so much for sharing this with us.

    ReplyDelete
  3. Hello, can you please help me about something that I don't undestand ? Is there any relation between the "stage category" global option set and the BPF entity ? the stage information is stored in the global option set or in the BPF entity ? If I want to run a workflow, should I trigger it on the G.OS or BPF entity ? If you have any article about this, please tell me.. Thank you !

    ReplyDelete
  4. The Le_Meridian Funding Service went above and beyond their requirements to assist me with my loan which i used expand my pharmacy business,They were friendly, professional, and absolute gems to work with.I will recommend anyone looking for loan to contact. Email..lfdsloans@lemeridianfds.com Or lfdsloans@outlook.com.
    WhatsApp ... + 19893943740.

    ReplyDelete
  5. I'm  here to share my testimony of what a good trusted loan company did for me. My name is Nikita Tanya, from Russian and I’m a lovely mother of 3 kids I lost my funds on trying to get a loan it was so hard for me and my children, I went online to seek for a loan assistance  all hope was lost until one faithful day when I met this friend of mine who recently secured a loan from Le_Meridian Funding Service She introduced me to this honest loan company who helped me get a loan in within 5 working days, I will forever be grateful to Mr Benjamin, for helping me get back on feet again. You can contact Mr Benjamin via email: lfdsloans@lemeridianfds.com, they do not know I’m doing this for them, but i just have to do it because a lot of people are out there who are in need of a loan assistance  please come to this company and be saved.WhatsApp:(+1 989-394-3740)

    ReplyDelete
  6. I need to spend some time learning more or understanding more. Thanks for fantastic info I was looking for this information for my mission.
    CRM Software in Dubai
    CRM Software in UAE
    CRM Software
    CRM Software for Small Business

    ReplyDelete
  7. I wish to show thanks to you just for bailing me out of this particular trouble.As a result of checking through the net and meeting techniques that were not productive, I thought my life was done.
    CRM Software

    ReplyDelete
  8. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... Recruitment specialists & consulting company NY

    ReplyDelete
  9. Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. crm for small business

    ReplyDelete
  10. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. CRM for small business

    ReplyDelete
  11. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. sales engagement platform

    ReplyDelete
  12. This particular is usually apparently essential and moreover outstanding truth along with for sure fair-minded and moreover admittedly useful My business is looking to find in advance designed for this specific useful stuffs… sales automation platform

    ReplyDelete
  13. I have found your blog to be an invaluable resource for staying informed about the latest developments in the world of Microsoft Microsoft Dynamics Experts. I highly recommend Dynamics Experts Dubai's blog to anyone seeking valuable insights and practical guidance in the realm of Microsoft Dynamics.

    ReplyDelete