The information in this article applies to:
Product: Metastorm BPM
Version: 7.x
Issue
- If the Integration Wizard (IW) in the Process Designer is used to build a statement with %GetEntry, the syntax is incorrect. Depending on where the statement is used, this may cause a form to hang or prevent actions from being executed in a timely manner. CPU utilization for the Process Engine (dllhost.exe) may stay at 99%.
Resolution
The following is taken from the Metastorm BPM Designer User Manual. This is the correct syntax.
%GetEntry( list, index , delimiter ) Arguments: list a list or (if delimiter specified) a string from which an entry is to be returned. index a (zero-based) number index of the entry to be returned. delimiter an optional string delimiter between successive entries in list. If omitted, a comma is assumed to be the delimiter. Returns: string a copy of entry number index from list. For example: %GetEntry("a,b,c",0) // "a" %GetEntry(%ToDoList(%FolderID),%myIndex) %GetEntry(%Session.FlagData,1,%Chr(9))
- The IW would incorrectly create the second example above as follows: %GetEntry(%ToDoList(%FolderID),%myIndex,). Note the comma after the second argument when the third argument is omitted. The comma should not be there.