Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MS WF state machine workflows and MS CRM Dynamics 4.0

MS CRM Dynamics 4.0 incorporates the MS WF engine. The built in designer allows the creation of sequential workflows whos activities have native access to CRM entities.

Is it possible to:

  • Create a state machine workflow outside of CRM (i.e. in visual studio) and import it into CRM?
  • Have this workflow access the CRM entities?
like image 867
Gareth D Avatar asked Aug 29 '08 07:08

Gareth D


People also ask

What are state machine workflows?

State machine workflows provide a modeling style with which you can model your workflow in an event-driven manner. A StateMachine activity contains the states and transitions that make up the logic of the state machine, and can be used anywhere an activity can be used.

What is the difference between action and workflow in Dynamics 365?

in an action you are full in control. The advantage of an action is that you can register plugin steps on it. That means that you can write your own handling the way you want. Using workflows means that you are more limited to the tools CRM is providing.

What is the difference between workflow and custom workflow in MS CRM?

A Custom Workflow Activity Plugin is very similar to a Plugin exempt that it is executed from within a CRM Workflow, Whereas Plugins Are executed on Events that Occur on the Entity, So workflow Activities give you more control when the plugin will be executed as well as allowing you to configure some logic through the ...

What is entity workflow?

You can use the document type definition (DTD) of XML to define entities in the workflow definition file. Entities are external files, fragments, or variables that can be referenced within the workflow definition file.


2 Answers

  • It is NOT possible to create a state machine workflow for use in MSCRM.
  • It is also not supported to create any workflow outside of MSCRM and import it.
  • As a work around you could write either all the logic you need into a custom workflow activity and import that into MSCRM and have it called from a normal workflow.
  • The other option is build a seperate application which runs a state machine workflow and interacts with MSCRM via the web services. You could (would need to?) combine this with a custom workflow activity to kick off processes.
like image 73
Robert MacLean Avatar answered Oct 07 '22 11:10

Robert MacLean


It is possible to create no code workflow...

http://blogs.msdn.com/jonasd/archive/2008/01/21/Creating-a-no_2D00_code-workflow-for-CRM-4.0-with-Visual-Studio-2005-_2800_2008_2900_.aspx

and take a look at the other thread...

Is is possible/a good idea to edit workflows in Visual Studio?

like image 31
BeardinaSuit Avatar answered Oct 07 '22 10:10

BeardinaSuit