Daniel,
Be sure you are retrieving the correct task record before updating. This is usually done with a Get By ID request followed by an update. There are very few instances where I have been able to update an existing record without first retrieving it. That appears to be what you are attempting to do. I say this because of the ForceEmptyNode on key2 and key3. Those fields should be updated from the existing record, i.e. drug from the request method to the update method in the workflow. Also, as someone else noted, the "True" should be "true" as nothing else will work, however, that does not sound like the error you are getting.
Be sure you are retrieving the correct task record before updating. This is usually done with a Get By ID request followed by an update. There are very few instances where I have been able to update an existing record without first retrieving it. That appears to be what you are attempting to do. I say this because of the ForceEmptyNode on key2 and key3. Those fields should be updated from the existing record, i.e. drug from the request method to the update method in the workflow. Also, as someone else noted, the "True" should be "true" as nothing else will work, however, that does not sound like the error you are getting.
----- Original Message -----
From: Daniel Laidig
To: vantage@yahoogroups.com
Sent: Thursday, September 18, 2008 6:15 AM
Subject: RE: [Vantage] Re: Service Connect - Completing Tasks
Yes, I'm using the RowMod = U. I am using the Task.Update BO method. Below
are the fields that I am setting.
Company = '03'
RelatedToFile = 'HDCase'
Key1 = '143'
Key2 = ForceEmptyNode
Key3 = ForceEmptyNode
TaskSeqNum = 10
TaskDescription = 'Revised'
SalesRepCode = 'NA'
Complete = True
WorkflowComplete = True
RowMod = 'U'
Daniel
_____
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Cathlene Fishman
Sent: Wednesday, September 17, 2008 1:56 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Service Connect - Completing Tasks
Daniel, do you have the RowMod = U ... ?
What BO.Method are you using?
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]