Question
Datasubset
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()
) As the data is an array and at each index again is a CDT.
And I am trying to store it in the PV(type Datasubset) but I could not able to do it I am getting an error "(Expression evaluation error at function a!update: Invalid index: Cannot use multiple numeric indices into record for update) (Data Outputs)"
