complated activities RRS feed

  • Question

  • i want to status of the form will be deactivated ,  when all it's activites mark as complated .

    please help me

    • Edited by ehsan af Monday, February 22, 2016 1:32 PM
    Monday, February 22, 2016 1:31 PM

All replies

  • You'll need to write some code to do this. There are 2 main options:

    1. Use server-side code (plugin or workflow activity) that runs when an activity is created, or the activity state is changed. This code would check if all the activities related to the entity are completed, and if so, deactivate the main entity
    2. Use client-side code that runs on the Onload event of the form. This would query CRM to check if all activities are completed, and if so, deactivate the fields on the form

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Monday, February 22, 2016 2:30 PM