locked
Workflow Status in Inactive records RRS feed

  • Question

  • Hi  All,

    Please give your comments, what will happen with workflows  if we change status of record from active to inactive which are already fired but in wait condition?

    e.g Suppose Account Record is having workflow which will create task and will be succeeded after 15 days. On 10th day itself if I deactivate Account record, what will happen with workflow?

    Same thing with workflows of  child entity related to Account(contact which is having parent as account).

    -Regards

    Anand Wani

    Wednesday, September 26, 2012 9:37 PM

Answers

  • You can add a parallel wait in your workflow to check for the status of the record while it is waiting. If the status of record changes to inactive stop the workflow. This will stop the workflow when the record status is changed and the task will not be created against the inactive record.

    HTH

    Sam


    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Thursday, September 27, 2012 3:10 AM

All replies

  • The workflows continue to run. A Task will be created against the inactive Account or the Task will be created against the active Contact of the deactivated Account.

    Jason Lattimer

    Thursday, September 27, 2012 2:50 AM
    Moderator
  • You can add a parallel wait in your workflow to check for the status of the record while it is waiting. If the status of record changes to inactive stop the workflow. This will stop the workflow when the record status is changed and the task will not be created against the inactive record.

    HTH

    Sam


    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Thursday, September 27, 2012 3:10 AM
  • Thanks JLattimer for your reply. It is very helpful information.

    Thanks Sam.

    Yes I am doing the same thing you mentioned above. Just want to check any out of box functionality we have in CRM 2011.

    -Regards

    Anand

    Thursday, September 27, 2012 2:14 PM