raelyn
June 1, 2023, 12:07am
1
I have an object variable (let’s call it variable X), and It has multiple fields, a, b, c, d.
Field D, the field I want to change, is an array of 3 things.
How do I update what’s in example, #0 of field D via a workflow, but NOT #1 and #2 ? i.e. instead of “I’m very excited to share…”, I want to change it to something else.
I tried to do this but it didn’t work.
It ended up like that:
Or is there something else I have to do altogether rather than trying to change the variable value in workflow?
Dorian
(Dorian Workman)
June 1, 2023, 3:23am
2
I had a similar question about updating a single object in an array recently. I solved it using Co-Pilot but I’d like to know the no-code answer.
I have a datagrid that is bound to an array variable. I want the user to be able to edit a field and when they do, I want the array variable to be updated.
I have an ‘on change’ workflow attached to the input field, configured as shown below. I have it configured to “Update one item” in the array using the index of the current item in the datagrid. I think that piece is right? But I can’t figure out what to put in the Value field. I tried asking the Co-Pilot to generate some custom js to updat…
aurelie
(Aurélie VIOLETTE)
June 1, 2023, 2:52pm
3
You seem to have the correct path, can you check the value you are using for the second parameter? It may explain the extra 0