Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

customization workflow

Posted on by Microsoft Employee

my workflow is triggering fully but its not waiting for the condition and the status is ticked can any body help 

?workflow-steps-ticked.PNG

it is supposed to wait for a specific field to be yes 

and it doesn't 

the main workflow i am running as a background process and the wait condition is in a child workflow as what it is shown in the pic attached 

thanks,

*This post is locked for comments

  • Suggested answer
    Ryan Maclean Profile Picture
    Ryan Maclean 3,070 on at
    RE: customization workflow

    Is the Customer Payment Status field on the Account or on a related entity?  If it is on the Account, why don't you just trigger the workflow on change of that field, and have a check condition to ensure it equals "Yes" before it updates the number?

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: customization workflow

    Hi Hasoon,

     so what happens if you move that wait condition out of the child workflow and add it right before "increment the last record number" step in the main workflow (which you have on the screenshot above)?

     If, somehow, the logic is more complicated.. you might add a different wait condition there(maybe create a new custom field for that), and, then, trigger that wait condition from the child workflow(so, then, your main workflow will be waiting for the attribute to be set.. and that will be done by the child workflow.. in the end, your main workflow will be waiting for the child workflow to finish). It would really be a "brute force" approach, though, - might be better to re-organize the logic somehow.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: customization workflow

    i am trying to create account auto numbering

    it should wait till the section where the customer payment is set to yes then

    it will generate account auto numbering by incremention of 1 from the numbering configuration entity

    it works and it assign an auto number for accounts but it doesn't wait for that condition

    i have done that through plugin but now i need to do it with workflow ?

    could you help

    thanks alex again

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: customization workflow

    If you add wait step to the main workflow, it should wait..what did you try?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: customization workflow

    thanks for reply alex

    but i tried to do it in the same workflow as a background workflow with wait step

    it doesn't make sense as well , any suggestion ?

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: customization workflow

    Hi,

     Parent wf won't wait for the child wf - it will contimue once it has started the child wf:

    blog.profad.com/.../creating-child-workflows-in-microsoft-dynamics-crm-2011

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans