web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Sales forum / Process Stage Name - V...
Sales forum

Process Stage Name - Version 9.1

(0) ShareShare
ReportReport
Posted on by 4

Hi everyone,

Need some guidance / help on this one...

If the Process Stage Name field in the Opportunity entity is no longer being updated (or no other field in the Opportunity entity represents the active stage), then the Active Stage name field from the Opportunity Sales Process entity needs to be available to be included in a view for the Opportunity entity. 

 

I do understand that the Process Stage Name is deprecated; however, what field in the Opportunity entity replaces the representation of the Active Stage field?  Is Pipeline Phase still available or deprecated too? 

 

There is already a relationship between the Opportunity and Opportunity Sales Process entity.  It is a 1:N relationship and therein lies the problem, because I can’t add the Active Stage field from the Opportunity Sales Process entity to a view for the Opportunity. 

 

There is a big impact here as many clients would have the opportunity pipeline based off the value in either Process Stage Name or Pipeline Phase, 

 

I can certainly create a workflow on the Opportunity Sales Process entity that, based on changes to the Active Stage value, updates a custom field on the Opportunity entity that represents the Active Stage.  However, I shouldn’t have to write something like this for every client that is using Dynamics 365 for Sales and the Opportunity entity.  Because after I put that workflow in place, then I must change every view, chart, form, workflow and custom code that references the Process Stage Name or Pipeline Phase fields. 

 

This means that for every entity that has a Business Process Flow, a custom field and custom workflow has to be written in order for someone reviewing these records to have visibility to the Active Stage name.  If that is the case, every customer that is on the 9.1 release and uses the Opportunity Funnel, has a broken Opportunity Funnel.  Here is the set up for an Opportunity Funnel, which is out of the box from Microsoft.  The Opportunity entity has a chart named “Sales Pipeline” which uses the “Pipeline Phase” field as it’s basis.  It means this chart needs to reference a new custom field and in addition to the field name in the chart, anywhere the Pipeline Phase field is used in a view, form, workflow, etc., would have to be changed. 

Is anyone else having this issue?  Am I misunderstanding the new functionality here?  We worked with Microsoft support and they told us we need to create the custom fields and I don't like this answer and I am hoping others have a better idea.  

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    from below msdn article, the deprecated fields are (ProcessId, StageId, and TraversedPath). Microsoft didnt mentioned about pipeline phase. So I think it is ok to use it. But for me, I would create a new field just to be safe, but this need lots of effort ( change report, process and etc).

    docs.microsoft.com/.../important-changes-coming

  • Verified answer
    Priyesh Profile Picture
    7,396 User Group Leader on at

    Hi Drew,

    Yes, this was an effort for me too and I had to create a new field for it and have my workflow populate it.

    The Process Stage Name (Stage ID) etc fields are deprecated in D365 v9 environment.

    I also have posted a short workaround for the same which is the same as you mention. Please refer my blog - dynamicscrmclub.wordpress.com/.../bpf-process-stage-name-not-populating-on-records-in-d365-v9-deprecated-and-workaround

    Hope this helps you!

    Thanks.

  • wikap.dk Profile Picture
    456 on at

    I realised today that Pipeline Phase is no longer updating on 9.1 environments. The management of active stage in the sales process has always been confusing, and I also have relied on the change in the Pipeline Phase field (including the prefixed number). Has anyone got a confirmation from Microsoft that Pipeline Phase and its behind the scene updating has been removed?

    PS: Can anyone point me to a MS documentation telling us how its intended to show which Stage an opportunity is in (in views, reports, forms etc.)?

  • blackfincloud Profile Picture
    566 on at

    Hello Wikap - The Pipeline Phase is still there. However, as you have noticed, the updating of this field when the Business Process Flow is advanced no longer works. In fact, the entire Business Process Flow has been re-designed such that there is now a "transect" entity that lies between the Opportunity and the Process, and a record is created for each Opportunity that has a process. The field that you could use for the Pipeline Phase is stored on that entity, and in a way similar that Priyesh mentioned above, you could create a workflow against this new entity and update the Pipeline Phase that way.  I have written a post with steps how to do exactly that, for people like yourself that have relied on the Pipeline Phase in the past.

    Please have a look.  

    One issue is that you mentioned that you rely on the numerical prefix. Those are no longer pre-fixed. For this reason, I think many people are creating custom fields and using whatever naming convention they like (including prefixes.)  What this unfortunately means is that dashboards, etc. will have to be re-designed to use that custom field. 

    Regards,
    Owen

  • wikap.dk Profile Picture
    456 on at

    Great Article Owen! And thanks for the explanation. So now the customisation job to run a simple sales process and calculate weighted revenues and show views & reports has complicated further. It's not good compared to competitive CRM solutions, but I think as a Partner it generates hours - hours that in my opinion should be used to make our customers more effective instead og building basic stuff. I still hope to see some official guidelines from MS on how they think we should handle these basic features (and I'm still surprised that I've myself have missed that this feature has been removed - think it's not very clear in the documentation).

    Keep up the good work on articles for the community :)

    BR, Henrik

  • Paul McDonald Profile Picture
    110 on at

    Hi Owen I've followed the steps in your post to create a workflow, but our Sales pipeline still shows as (blank) when it should be showing 'Develop' - Can it take some time to update?

    Thanks

    Paul

  • blackfincloud Profile Picture
    566 on at

    Hi Paul - it should update quite soon.  If it hasn't, then something likely went wrong with the workflow.  You can troubleshoot and gain complete visibility to whether the process is working successfully by the following steps:

    1. Click Settings, then Processes.

    2. Locate the workflow that you created (I called mine "Set Pipeline Phase")

    3. Open the record by clicking on the link.

    4. If the checkbox under "Workflow Job Retention" is checked ("Automatically delete ...") then  Deactivate the workflow, then uncheck it, then Save and then Activate it again.  (This will retain logs of the job even if they succeed.)

    5. Visit an Opportunity and advanced the stage.

    6. Return to your Workflow (Settings, Processes) and open the workflow again, and then click on "Process Sessions" as shown below.  

    If your workflow is operating, you will know, as shown below.  If there is an error, or if it's "Waiting" then open the log and there should be a reason why.  

     workflow-with-logs.PNG

  • Paul McDonald Profile Picture
    110 on at

    Hi Owen thanks for getting back to me, I think this is a little buggy still. I've applied your workaround, and the Pipeline Phase is now showing as '2-Develop', but you mentioned that these are no longer prefixed?

    This is a test Opportunity that I created in Sales Hub. I also saw a post mentioning that Opportunities created in Outlook using the 'Quick Create: Opportunity' form won't update the pipeline phase, I'll need to do some testing on that to see if that's the case, will be really annoying if that's true :(

    I have a trial instance that I use for learning which is on version 9.1.0000.2234. If I create an Opportunity in there, the Pipeline Phase shows without the prefix, so assuming this is just something that will be fixed in the new release (our Production version is on 9.1.0000.2048)

    I've attached a screenshot of what our Pipeline looks like at the moment if that helps? Most of the Opps are in the 'Develop' phase, but they're all showing as (blank)

    SP.png

    Any help would be appreciated, as right now our senior sales team can't see the pipeline they're putting in

    Thanks

  • Community Member Profile Picture
    on at

    Hi all

    We're also on version 9.1.0.2048, and it seems the pipeline phase (stepname) has been un-deprecated. I was just in the process of setting up the workflow to update the pipeline phase from the BPF, but came across a post on CRM UG mentioning that MS have changed this back. Had to test it, and suddenly the Pipeline Phase is back in action and being automatically populated again.

    Haven't found any official communication on this, but for now at least it seem to be working just fine.

  • Paul McDonald Profile Picture
    110 on at

    Hi Jostein that's a bit strange, I'm going to disable the workflow and test that. Thanks

    Are you able to provide a link to the CRM UG post please? That'll come in useful right now, bit hit and miss

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Sales

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans