Code highlighting

Friday, November 16, 2018

[Development Tutorial] Tired of WHSWorkExecuteDisplay*? ProcessGuide to the rescue!

If you have ever tried extending the warehouse mobile flows in Dynamics 365 Finance and Operations, you know the code is very complex and extremely difficult to make sense of and modify without introducing regressions in unpredictable scenarios.

This was of course on our mind as well for some time, which is now I am pleased to announce the release of a new framework for implementing such flows, called ProcessGuide framework.

You can read the documentation we've published so far here:
https://docs.microsoft.com/en-us/dynamics365/unified-operations/supply-chain/warehousing/process-guide-framework

We will incrementally start converting the existing flows, and you should do the same with yours.
Give it a try and let us know if you have any feedback by leaving a comment here or reaching out directly!

Thanks

3 comments:

  1. I've used the new framework to create a custom process for printing adhoc zpl-labels to support a customer business process, and it works fine.
    The process has three steps:
    One step prompts for an itemid/barcode.
    The next proceeds to confirm the items information, and asking the user if he wants to print bag-labels or box-labels or both,
    The third step confirms the printing and prints.

    Now the customer would like to be able to use the new process in a work flow, where when the item that is being handled is identified, you can pass the itemid to this process, and skip the first step (prompting) for the itemid, but then continuing to do step 2 and 3.

    I was thinking about doing it, but introducing a new custom work type.

    If it is possible to start a WhsProcessGuide from a new method in an extension of the class WHSCustomData, how would you go about doing that ?

    ReplyDelete
    Replies
    1. I think the real challenge is not how you'll invoke the new flow, but rather, how you'll come back to the old one..

      I suggest you ask the same question on Yammer or the Dynamics communities sites, maybe someone has done something similar already and would have good advice for you.

      Delete
    2. Ok, Ivan thanks.
      I'll give it a go. :)

      Delete

Please don't forget to leave your contact details if you expect a reply from me. Thank you