cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Invalid number of values provided to UpdateStreamEntry

Janicen
15-Moonstone

Invalid number of values provided to UpdateStreamEntry

Hi everyone.

 

I have created a service that adds stream entries to only a few specified columns if a certain boolean condition is true. If the boolean condition is false then the service updates the stream entry by filling in the rest of the column values. I passed the infotable that holds the values and a current streamID to the updateStreamEntries snippet. 

This does not work, I keep getting the error :  Invalid number of values provided to UpdateStreamEntry.

 

How can I fix this?

ACCEPTED SOLUTION

Accepted Solutions
nmutter
14-Alexandrite
(To:Janicen)

You can only pass one entry to update to the service. So the values parameter cannot have more than one row if you use UpdateStreamEntry.

View solution in original post

1 REPLY 1
nmutter
14-Alexandrite
(To:Janicen)

You can only pass one entry to update to the service. So the values parameter cannot have more than one row if you use UpdateStreamEntry.

Announcements

Top Tags