Expand my Community achievements bar.

Problem with Invoking process using Dotnet

Avatar

Level 4

Hi,

I am trying to invoke a process using dotnet. My process needs list of strings as input. I am trying to pass the object array as input. But the issue is in dotnet array the indexing starts from 0 where as in livecycle process the list starts from indexing 1. Can anyone suggest a solution for this?

1 Reply

Avatar

Level 8

I'm rather surprised that this is an issue. Lists accessed via the XPath editor are one based (as per the xpath spec), but in reality the lists are stored as java ArrayList objects - which are 0 based.  When you use the LiveCycle APIs (EJB or WebService) then consider the List objects as 0 based.