Service Connect - Completing Tasks

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.

----- 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]
I am trying to write a Service Connect workflow to mark certain tasks in
vantage as complete. I used tracing to find what BO are used but when I
follow those same steps in Service Connect it says that I can't use Update
method because the task already exists and the key fields need to be unique.
Has anyone used service connect or webservces to update tasks? If so, can
you give me any ideas to what I am doing wrong here? Thank,





Daniel





[Non-text portions of this message have been removed]
This is difficult to troubleshoot without actually seeing it. It could
have something to do with your mapping of fields within the workflow?
Maybe you need to create a container to pull through your work flow?







________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Daniel Laidig
Sent: Wednesday, September 17, 2008 12:25 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Service Connect - Completing Tasks



I am trying to write a Service Connect workflow to mark certain tasks in
vantage as complete. I used tracing to find what BO are used but when I
follow those same steps in Service Connect it says that I can't use
Update
method because the task already exists and the key fields need to be
unique.
Has anyone used service connect or webservces to update tasks? If so,
can
you give me any ideas to what I am doing wrong here? Thank,

Daniel

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Daniel, do you have the RowMod = U ... ?

What BO.Method are you using?
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]
Not sure if this will help you or not, but to mark or unmark check boxes
in service connect, you have to pass "true" or "false". All lowercase,
or else nothing happens. "True", "TRUE", "False", or "FALSE" will not
work.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Daniel Laidig
Sent: Thursday, September 18, 2008 6:15 AM
To: vantage@yahoogroups.com
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%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Cathlene Fishman
Sent: Wednesday, September 17, 2008 1:56 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.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]