Dynamically changing the follow up by field RRS feed

  • Question

  • hello

    So i am building this case form and i want a workflow to perform escalations for me based on certain timeline.all the cases have different timelines and i want to dynamically change the time and dates on the follow up by field based on the case option so that my workflow can dynamically read from this field before escalating.please how can this be done.

    System integrator

    Saturday, April 21, 2012 5:14 PM


  • HI,

    you can write javascript to set value of followup field, based on some condition while creating case record.

    for example if you want to set next day you can use below code

     var today = new Date();

    Xrm.Page.getAttribute("followupby").setValue(today.getDate() + 1);


    Mahain : Check My Blog
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    • Marked as answer by youngceaser Monday, April 23, 2012 7:08 AM
    Saturday, April 21, 2012 7:25 PM