locked
Updating an form using REST, need help with building a query. RRS feed

  • Question

  • I have an Accounts form that creates an activity, when the activity is "Marked as complete", I want to update the original record using REST. The problem is, if I take the GUID of the Activity, it is as follows:

    ActivityID = 79D23FF2-DA46-E311-A99D-D89D6763FC38. I can't find a match in the record I am trying to Update. The referencing GUID is the Account GUID in the activity form that points to the Account I am trying to update.

    The Account GUID it is referencing is: de8c8a64-b844-e311-a99d-d89d6763fc38

    How do I go about doing this?

    Wednesday, November 6, 2013 1:05 PM

All replies

  • Hi,

    Could you give a bit more info - are you doing this account update from Javascript (presumably if you are using REST) or a plugin. If you are using javascript are you running the code in the onsave event - or are you using a plugin that is registered on change of state?

    You could alternatively create a workflow to do you update?

    hth,

    Scott


    Scott Durow
    Blog www.develop1.net    Follow Me
    Rockstar365
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Wednesday, November 6, 2013 1:38 PM
    Answerer