CRM 4.0 workflow error message for user

Is it possible to override the default error message in CRM 4.0 that occurs if a workflow fails? Is this not recommended? This seems like the best place for a remote, non-technical user to read a simple error message that was triggered by any custom workflow action. I would suggest that the code extension point for this overrides the HandleFault method of the base class Activity.

protected override ActivityExecutionStatus HandleFault(ActivityExecutionContext executionContext, Exception exception)
{            
    return base.HandleFault(executionContext, exception);
}

The default value is used here (it's the text "always-there-but-not-one-reads-it"): alt text

+3
source share

Source: https://habr.com/ru/post/1765033/


All Articles