Expand my Community achievements bar.

Join us for our Coffee Break Sweepstakes on July 16th! Come ask your questions or share your use cases on Creative Briefs for a chance to win a piece of Workfront swag!

Updating Project Owner with Workfront API

Avatar

Level 4
Having some trouble updating a project owner using the API. We're calling WF for the User ID, then updating the appropriate project with the user ID retrieved, but it's populating the Service Account we're using (we're using API Key for 'Service Account'. I'm thinking we're using some code wrong because everything updates except the project owner. This is just an excerpt of the payload, but starting to think "sessionVars.userId" is wrong and it's pushing the userID of our session ID. Anyone have any experience with the best way to update the project owner of a project once created? Excerpt of the update payload... everything updates correctly except project owner. I need some guidance to figure out the correct field to update project owner ID. Thanks! parameterValues: { 'name': "http://payload.name/" title="" data-value="http://payload.name" class="cuf-url forceOutputURL" payload.name , 'ownerID': sessionVars.userId, 'DE:Account': payload.account, 'DE:Alliance Partner': payload.alliancePartner, 'DE:SalesLogix ID': payload.salesLogixId, 'DE:EFX ID': payload.efxId, 'DE:Salesforce Account ID': payload.salesforceAccountId, 'DE:Contract Schedule ID': payload.contractScheduleId, 'DE:Account Manager': payload.accountManager, 'DE:ADP CAN': payload.adpCan, 'DE:Industry': payload.industry, 'DE:UCM RM': payload.ucmRm, 'DE:UCM CRM ADP': payload.ucmCrmAdp, 'DE:ADP IC': payload.adpIc, 'DE:Verifications CRM': payload.verificationsCrm, 'DE:Partner': payload.partner when payload.partner != null otherwise null } Jaclyn Reiter, PMP, SA Program Manager, Strategic Initiatives Equifax, Inc. St. Louis, MO 314-684-2693
0 Replies