Indexing variables when process instance is created