HI ,I am trying to update a process variable of type datasubset,I am using the following code to update a particular index value,
a!update( data: pv!dataSubset, index: index( index( pv!dataSubset.data, wherecontains( 1, tointeger( index(pv!dataSubset.data, "verse_no", {}) ) ), {} ), "sentOn", {} ), value: now() )
Discussion posts and replies are publicly visible
Your index function at line 3 must be returning multiple indexes. Anyway, the index function is not providing you a number or a property rather it will provide you the value of "sentOn" which is not the correct index that can be passed in a!update()
Then How Can I pass the index of "SentOn" ?