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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Error from on-demand BPF workflow persists on the form

(0) ShareShare
ReportReport
Posted on by

Hi community,

I'm encountering an issue with my business process flow. 

To be precise, when I try to progress my BPF to the next stage and on demand workflow throws me an error.
This is expected behavior.

However when I then try to edit some fields and try to save the record, it throws me the same error. Even though I am not touching the BPF at all.

I can only start saving my record again when I have clicked the refresh page button in my browser or ctrl+F5.

I encounter this problem now with all my record and I didn't have this problem before.

Do you guys know what might be causing this issue?

I have the same question (0)
  • Nya Profile Picture
    29,060 on at
    RE: Error from on-demand BPF workflow persists on the form

    Hi,

    It's great to hear that the issue has been solved.

    Thanks for sharing the information.

  • Community Member Profile Picture
    on at
    RE: Error from on-demand BPF workflow persists on the form

    Thank you for your reply. I contacted Microsoft and the bug was in their code. The change on the BPF traversed path didn't roll back when the on-demand workflow was triggered. This is why the error persisted. They solved it now.

  • Nya Profile Picture
    29,060 on at
    RE: Error from on-demand BPF workflow persists on the form

    Ho,

    By workflow I mean workflow itself and not BPF.

    You can check them in Advanced Settings > Settings > Process Center > Processes.

    pastedimage1628816653359v1.png

     

    It seems that the concepts you mentioned belongs to Business Central. 

    If yes, it is recommended to re-post your issue related to business processes to the following forum for more help.

    (+) Dynamics 365 Business Central - Forums, Blogs, Support

  • Community Member Profile Picture
    on at
    RE: Error from on-demand BPF workflow persists on the form

    I know that a workflow is causing the error and the initial error is correct. It is expected behavior.

    So the information is correct. The issue is not that the workflow prompts an error when I try to progress in the BPF.

    However, it is an issue that when I click "ok" on the error prompt and then IMMEDIATELY on the same form hit the SAVE button, the error pops up again: But at that moment I am not triggering the on demand workflow.

  • Nya Profile Picture
    29,060 on at
    RE: Error from on-demand BPF workflow persists on the form

    Hi,

    It seems to be a custom error message from a workflow.

    For example, if a workflow is created targeting at the entity and set a step "Stop workflow with status of Canceled" in it, in the properties, a text message can be set to prompt why the process is canceled.

    pastedimage1628757606026v1.png

    So please check the workflows targeting at the entity you're updating currently. Find out if there is an error message something like the above one.

  • Community Member Profile Picture
    on at
    RE: Error from on-demand BPF workflow persists on the form

    pastedimage1628755230714v1.png

    This is the error I get when I want to progress in the BPF

    I click "OK" and proceed to make changes on my form. 

    When I then click "Save" I get the same error, even though the on demand workflow should only trigger on the BPF stage exit.

  • meelamri Profile Picture
    13,216 User Group Leader on at
    RE: Error from on-demand BPF workflow persists on the form

    Hi, 

    Please provide more details about the error. What is the error message? Please share some screenshots. 

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 394

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 106 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans