Custom workflow vs Configurable workflow in mscrm dynamics -
Custom workflow vs Configurable workflow in mscrm dynamics -
there 2 type of workflow available in mscrm dynamics. 1. configurable workflow 2. custom workflow.
my question :
in scenerio, utilize custom workflow ? how custom workflow different plug ins ?
1) must differentiate between "custom workflow step(=custom workflow activities)" , "custom xaml workflows" (just sake of completeness):
you utilize custom workflow activity (thats custom workflow step written in c#) if non of standard workflow steps fit needs , not can utilize plugin (see below). custom workflow steps helpful if represent generic functionality can reused.
you utilize custom xaml workflows if want utilize total powerfulness of windows workflow foundation instead of limit subset dynamics crm workflow designer provides. must develop custom xaml workflows outside of crm (in visual studio example) , deploy crm. beware: cannot edit within crm , cannot utilize custom xaml workflows in crm cloud (=crm online). have enable custom xaml workflows in crm config database (they disabled default).
i recommend against custom xaml workflows, not supported/integrated crm , error prone.. utilize plugins or combination of custom workflow activities instead. alternative write c# windows service connects crm , accomplish desired functionality outside.
2) depends if using dynamics 2011 or 2013/online. in 2011 workflows asynchronous. can triggered automatically trigger (create entity example) or manually user. in first case run under userid of respective owner, in sec case run under userid of user starts workflow. plugin can run synchronous or asynchronous , capable of doing user impersonation. cannot straight triggered user. workflows suitable long running stateful persistent background operations, plugin stateless short running operations. if using crm dynamics 2013 workflows can run synchronous.
only synchronous operations can nowadays error messages user.
dynamics-crm
Comments
Post a Comment