Jump to content

row number


msalemip
 Share

Recommended Posts

Assume an entity is assigned to a table. So there is a row number associated to each entity from the table.

Using a process for the entity, how I can get reference to the row number of that entity in a table. I will create a new entity later and I want to assign the same row number to the new entity. I know I can do the later one with "setRow" step. But I do not know how to find the row number on the fist place.

Link to comment
Share on other sites

We are considering adding this feature, but full relational tables add some complexity to it.


One possibility is that when you copy an entity (for example using a Separator), by default it copies its states, including its table references, to the new entity.


Another possible work-around is to add an integer column to the table, perhaps called something like MyRow. When you populate the table, put a monotonically increasing number in each cell (e.g. row 1 gets a 1, row 2 gets a 2, ...).


Then at anytime you can reference MyTable.MyRow to get its current row number.

Link to comment
Share on other sites

×
×
  • Create New...