locked
Crm 2011: Workflowgoes into infinite loop RRS feed

  • Question

  • Hello,

    I have a workflow which should get triggered if one specific data field is changed. Then the workflow updates some other(!) fields. This does Trigger the Change Event and the workflow goes into a infinite Loop.

    But why? I do not Change the value of the field I set as a Trigger for starting the workflow. If I manually Change the field my workflow changes, he does not get started.

    I have a Workaround, but this Workaround still lets the workflow start 2 times instead of one.

    Is there any way I can ensure that my workflow is only started if my specific field is really changed?

    Thanks

    Monday, July 22, 2013 2:37 PM

Answers

  • I just tried it on another test system, there my workflow worked.
    • Marked as answer by Campl3r Friday, July 26, 2013 7:19 AM
    Friday, July 26, 2013 7:19 AM

All replies

  • Hello,

    Would you please give screenshots from the workflow steps and the triggers?



    My Weblog | My Website

    Monday, July 22, 2013 3:10 PM
    Moderator
  • sadly I can not now.

    I will try to describe it.

    1.I have created a workflow.

    2. I set the Trigger to any Standard data field (e.g. Name)

    3. In my workflow I modify a custom data field I just created. Then ich call UpdateEntity()

    4. My workflow is triggered cause I called UpdateEntity(), but the Standard data field (e.g. Name) was not changed.

    Monday, July 22, 2013 5:13 PM
  • I just tried it on another test system, there my workflow worked.
    • Marked as answer by Campl3r Friday, July 26, 2013 7:19 AM
    Friday, July 26, 2013 7:19 AM