Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Workflow Stopped

Posted on by 90

Hi All.

Recently a change has been done in purchase ledger workflow. After that change when i approve intercompany free text vendor invoice, workflow gets stopped and below error comes.

Stopped (error): X++ Exception: The condition could not be evaluated. No data has been returned.
at SysWorkflowEvaluationProvider-evaluateCondition
SysWorkflowEvaluationProvider-evaluate
SysWorkflowQueue-resume

Please see the workflow below.

pastedimage1578897246325v1.png

In the previous version of the workflow(autoposting) it is working fine. After the workflow change this gives error.

Anyone faced this issue before?. Kindly help.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Workflow Stopped

    Hi Uk257,

    I did assume you were using the vendor invoice workflow which is linked to purchase orders. Can you tell which exact workflow type you used? Is it the vendor journal workflow?

  • Uk257 Profile Picture
    Uk257 90 on at
    RE: Workflow Stopped

    Hi, MATTGUO.

    Yes, we have more than 30 internal vendors.

    Thanks.

  • MATTGUO Profile Picture
    MATTGUO 22,306 on at
    RE: Workflow Stopped

    Hi Uk257,

    Do you have a lot of internal vendors?

    If not, you can set up specific vendors.

  • Uk257 Profile Picture
    Uk257 90 on at
    RE: Workflow Stopped

    Hi, Andre.

    We assume that the error occurs only for the free text vendor invoice(invoice without purchase order) as we given a condition that looking for the vendor group value on the purchase order.

    So the error is coming when we post the free text invoice it gives the error because no purchase order attached to it.

    Is our assumption is correct?

    Also if it is correct, how we can overcome this issue?

    Please help.

    Thanks.

  • Uk257 Profile Picture
    Uk257 90 on at
    RE: Workflow Stopped

    No, Andre. It contains only vendor group value(INT). Not any special characters.

    Thanks.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Workflow Stopped

    The condition looks logical. Does the value (made invisible to us) contains some special characters?

  • Uk257 Profile Picture
    Uk257 90 on at
    RE: Workflow Stopped

    Hi Andre,

    This is the previous version we used. Please find below screenshot.

    pastedimage1578907193190v1.png

  • Uk257 Profile Picture
    Uk257 90 on at
    RE: Workflow Stopped

    Hi, Andre.

    We have added the below condition to check if the invoice is inter-company order. Then we need to post this manually after approval. Please check below screenshot.

    pastedimage1578902020084v1.png

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Workflow Stopped

    Hi Uk257,

    Can you tell what exact changes were done in this version of your workflow configuration? Did you add or change the condition? What properties are set as condition?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans