Browsing articles tagged with "workflow Archives - Pedro Innecco"

Dynamics CRM: Workflows revisited

In the third post of my Diving into the sales pipeline series, we covered the creation of workflows to handle the different stages (i.e.: pipeline phases) of the sales process. If you followed the series from the beginning, you would recall that in that example, we did not want users to be able to jump back and forth through the pipeline phases. For example, a user with an opportunity located in the first pipeline phase shouldn’t be able to jump forward without first passing through the second stage, or be able to move backwards in the sales process.

There are a number of reasons why I stuck with this requirement. First, the whole article series is based on the real requirements of one of my past clients, and the client strictly required users not to be able to move back or jump steps forward. Second, this requirement introduced a nice JScript (the bonus JScript in the second post of the series) which handles the hiding of options within an option set based on conditionals. There is a third reason, however. I must say that I was quite comfortable with such “inflexible” requirement: It made my job easier, and thus easier to document it in order to share it as part of the sales pipeline trilogy of articles.

There is a degree of mea culpa here. In the third post of the series, which covers workflow design, I asserted that the online workflow designer for Dynamics CRM doesn’t handle jumping back and forth through workflow stages, like the GOTO statement found in many programming languages. Although this statement is correct if we considering an orthodox view of what “GOTO” means from the mindset of a developer, it doesn’t mean that we couldn’t achieve similar results using the online workflow designer for Dynamics CRM. In this post I will be explaining how we can achieve such results using the online workflow designer. Read more >>

Dynamics CRM: Disabling the selection of contacts for opportunities all the way

I recently got a requirement for a Dynamics CRM implementation that all recorded sales should follow the B2B (business to business) and therefore, opportunities should only able to be related to accounts, and not contacts as well.

This is a common scenario which can be easily covered with some simple JScript in the opportunity form. However I found out that in some circumstances, an opportunity could still be created for a contact, thus violating the requirement and even worse, breaking some of the implemented processes and business logic. Here is how I fixed this issue.

Read more >>

Dynamics CRM: The importance of the Address entity

Earlier this year I wrote an article about considerations when customising address fields. I was happy with the reception the article got, as it sparked some interesting discussions not only with some of my clients, but also with fellow Dynamics CRM consultants.

Today I would like to expand further on that discussion and talk about an often neglected entity in Dynamics CRM: The Address entity and its importance in every single Dynamics CRM deployment out there (yes, including yours).

Read more >>

Dynamics CRM: JScript vs workflow – Caveats

JScripts in Dynamics CRM are a powerful feature to enhance the user interface in Dynamics CRM. We can use JScripts to perform calculations and validate fields in forms in order to introduce a better user experience. However, JScripts are a client-side based, and only work with the desktop-based (main) forms. In other words, if the user is accessing Dynamics CRM through a mobile device displaying the mobile forms, or using a 3rd party client for a tablet device, the JScripts will not be loaded at all. Workflows on the other hand are server-based, and they will execute no matter which device and client is used to access Dynamics CRM.

This often raises the question of JScript versus workflows when customising Dynamics CRM, particularly when designing a sales pipeline workflow. In this posts I explain how to combine the usage of both JScript and workflows in order to get the best of both worlds, and the most out of Dynamics CRM.

Read more >>

Dynamics CRM 2011: Diving into the sales pipeline – Part 3

In my previous post of this series we discussed how to apply our previously defined sales pipeline through the customisation of the Opportunity entity form. We went through the design of the Opportunity form, which included the addition of fields built-in fields which aren’t part of the default form, and we added some scripts for the calculation of our probability matrix.

Important Update: This article series has been written before the release of Dynamics CRM 2011 Update Rollup 12 (also known as Polaris). You might continue to read the articles in this series, but it is strongly recommended that you read this addendum before performing any customisations suggested in the series.

In this final post we will go through the creation of some workflows that will be part of our sales pipeline process.

Read more >>