CRM4: Cancel and/or start a workflow from JavaScript? RRS feed

  • Question

  • Posted another question about doing this from a plugin, now I am wondering if I can do this from javascript?

    I have a timed workflow that waits for a timeout Date/Time when a new case is created. This timeout value is set when a new case/incident is created based on the priority value of the case. If the priority value changes before the timer expires, I need to cancel that workflow, reset the timeout, and start it again. So I have two questions.

    1. Can you cancel a 'waiting' workflow from JavaScript?

    2. Can you start a workflow from JavaScript?

    Are there examples of how to do either of these?


    Monday, May 30, 2011 6:16 PM