{"id":150,"date":"2010-03-08T06:42:00","date_gmt":"2010-03-08T01:12:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=150"},"modified":"2010-03-08T06:42:00","modified_gmt":"2010-03-08T01:12:00","slug":"how-to-check-the-actual-error-reported-for-a-workflow-failure","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2010\/03\/how-to-check-the-actual-error-reported-for-a-workflow-failure\/","title":{"rendered":"How to check the actual error reported for a Workflow failure"},"content":{"rendered":"<p>When a workflow fails, all it shows in CRM is a window similar to the following.<br \/>\n<a href=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/S5Sc7Ri_brI\/AAAAAAAAAV8\/HtEEIvIc7VY\/s1600-h\/3.jpg\"><img decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/S5Sc7Ri_brI\/AAAAAAAAAV8\/HtEEIvIc7VY\/s400\/3.jpg\" alt=\"\" border=\"0\" \/><\/a> This is very vague and does not help you in any way to identify the cause of the failure, especially if you were using a workflow assembly in the workflow.<br \/>\nTo check the actual error reported during the execution workflow, you can search for the error code and message column of the System Job.<br \/>\nYou can create an advanced find view as described below to get the error message.<br \/>\n&#8211; Go to advance find select \u201csystem job\u201d entity with \u201call system job\u201d.<br \/>\n&#8211; Change the condition to \u201cStatus reason=\u201dwaiting\u201d<br \/>\n&#8211; Click on edit column<br \/>\n&#8211; Add error code, message, message name columns and save it<\/p>\n<div><a href=\"http:\/\/2.bp.blogspot.com\/_pMlyDuF-ngc\/S5Sc7NObiMI\/AAAAAAAAAV0\/WUtX36UohdQ\/s1600-h\/2.jpg\"><img decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/_pMlyDuF-ngc\/S5Sc7NObiMI\/AAAAAAAAAV0\/WUtX36UohdQ\/s400\/2.jpg\" alt=\"\" border=\"0\" \/><\/a><\/div>\n<div><\/div>\n<div>This view will list out the actual error message.<\/div>\n<div><a href=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/S5Sc60g5cOI\/AAAAAAAAAVs\/GZQHV4Dce84\/s1600-h\/3.jpg\"><img decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/S5Sc60g5cOI\/AAAAAAAAAVs\/GZQHV4Dce84\/s400\/3.jpg\" alt=\"\" border=\"0\" \/><\/a> Well, wonder why this attribute was not added on the UI\/form for the Workflow\u2026<\/p>\n<div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>When a workflow fails, all it shows in CRM is a window similar to the following. This is very vague and does not help you in any way to identify the cause of the failure, especially if you were using a workflow assembly in the workflow. To check the actual error reported during the execution\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2010\/03\/how-to-check-the-actual-error-reported-for-a-workflow-failure\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19,67],"tags":[1840],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","category-workflows","tag-worflow-error"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=150"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}