locked
Getting Object ID in a Workflow RRS feed

  • Question

  • I am using CRM 4.0 and I want to create a workflow that is triggered when a Record is created.  I need the ID of the current record.  How can I get it?

     

    I created a new attribute to store the ObjectID (although I think this is dumb).  I have tried an OnSave function to populate my new attribute but the ObjectID doesn't exist until after the record is saved the first time.  By then the OnSave function has already completed.  If I could get the object ID in a workflow, I could use a wait condition until the ObjectID was available and then populate the attribute I created.

     

    Any ideas?

    Monday, May 12, 2008 1:34 PM

Answers

  • Dear,

     

    Id you can get only thorugh code / workflow assembly

     

    Regards,

    Imran

     

     

    Monday, May 12, 2008 1:48 PM
    Moderator