Showing posts with label Workflows. Show all posts
Showing posts with label Workflows. Show all posts

Friday, April 10, 2009

Get detailed error of Waiting Workflows


If an error occoured during the Workflow execution, and you want to see the detailed error of waiting workflow you just need to simply follow the below steps:

  • In the web client goto the 'System jobs' in the settings area
  • Click "Advanced find"
  • Click "Edit Columns"
  • Click "Add Columns"
  • Select the columns "Error Code" and "Message"
  • Click "OK" twice
  • Click "Find" this will execute the query and bring up the workflows which have executed. If the workflow ran into an error the error code and message column will contain details.

    Note that in case of an exception the message is the same as that logged in the trace files (if enabled)

You can save this query, this will make it available in the View list.


Wednesday, March 25, 2009

Declaration of Custom Workflow Input / Output Parameters


Eveyone struggle to declare the Custom workflow input / output parameters in the custom workflow activity. So here is the solution for it.

The following sample shows how to use each of the types found in Microsoft Dynamics CRM.

Input Parameter Declaration: (Click on the datatype to see the declaration)

Boolean


DateTime

Decimal

Float

Lookup

Money

Number

Picklist

Status

String


Output Parameter Declaration: (Click on the datatype to see the declaration)


Lookup


Hope this will help you in declaring the Custom workflow activity I/O parameters.

Friday, January 9, 2009

Supported Entities for Workflow


The following entities can be used to start the messages that trigger the workflow execution.

Entity name
1. account
2. appointment
3. businessunit
4. campaign
5. campaignactivity
6. campaignresponse
7. competitor
8. constraintbasedgroup
9. contact
10. contract
11. contractdetail
12. contracttemplate
13. customeraddress
14. customeropportunityrole
15. customerrelationship
16. discount
17. discounttype
18. email
19. equipment
20. fax
21. incident
22. invoice
23. invoicedetail
24. kbarticle
25. kbarticlecomment
26. kbarticletemplate
27. lead
28. letter
29. list
30. mailmergetemplate
31. opportunity
32. opportunityproduct
33. phonecall
34. pricelevel
35. product
36. productpricelevel
37. queue
38. quote
39. quotedetail
40. relationshiprole
41. report
42. salesliterature
43. salesliteratureitem
44. salesorder
45. salesorderdetail
46. service
47. serviceappointment
48. site
49. subject
50. systemuser
51. task
52. team
53. template
54. territory
55. transactioncurrency