web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Fail when triggering the workflow automatic action

(3) ShareShare
ReportReport
Posted on by 1,264
In the workflow, i have defined the automatic approval when the approver is assigned user, e.g. approver1. Otherwise, it will send a mail to this user for getting approval.
 
However, the approver, approverX is not that assigned user, the system is generated the fault.
 
 
Categories:
I have the same question (0)
  • Syed Haris Shah Profile Picture
    741 on at
    Hi J Lee,
     
    This error may be caused by multiple factors. I suggest verifying whether the assigned user is active in the System Administration module.
     
    If you find this suggestion helpful, please consider verifying the answer. 👍
     
    Regards,
    Syed Haris Shah
     
     
  • Verified answer
    DAnny3211 Profile Picture
    11,397 on at
     

    Hi J_Lee 👋

    Thanks for your question!

    The error you're encountering—“Failed to find expression record at SysWorkflowEvaluationProvider-evaluateCondition”—suggests that the workflow condition is trying to evaluate a field or expression that doesn’t exist or isn’t properly initialized when the approver is not assigned.

     Here’s what you can do to resolve this:

    1. Validate the condition logic

      • Review the condition GT072 and ensure it handles cases where the approver is not assigned.
      • Use a null check or default fallback in the condition to prevent evaluation errors.
    2. Use safe expressions

      • In the workflow editor, modify the condition to check if the approver field is populated before evaluating further logic.
      • Example:
     
     
    if (!approver) return false;
     
    1. Add a default branch or error handler

      • Ensure your workflow has a default path or error-handling step when the condition fails or the approver is missing.
    2. Test with different users

      • Simulate the workflow with various user assignments to confirm that the logic behaves correctly when the approver is missing or mismatched.

    💡 This issue often arises when the workflow assumes a value will always be present—adding validation or fallback logic can prevent faults.

    Hope this helps!
    ✅ Please mark this reply as helpful if it answered your question.
    Best regards! 👋

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans