I'm trying to create a flow that captures the value of a field in a variable for a downstream step but the Get-Item call doesn't return the field of interest.
The list includes a field named FirstNoteDate which is only populated when a related record is entered in a related list and only when it's the first related record in list 2.
It seems straight forward, and I created a flow that runs whenever a note (list 2) is entered. I would then store the Created value from that list as a string variable (date variables are not available). I would then read the FirstNoteDate in the master list and if null, update it with that variable. My flow runs successfully (it never fails) but the FirstNoteDate in the master list never gets updated.
Upon troubleshooting, I realized that the Get-Item call was never returning the FirstNoteDate. If it's pertinent, the FirstNoteDate column was added to an existing list, but is included in the default view.
So before tackling the update step, I need to resolve this problem.
Master List:TicketList, column of interest:FirstNoteDate, Type: Date and time
Related List:Notes, column of interest:Created and TicketListID (to relate to master list record ID)
variable:varNoteDate, type:String
The flow is initiated whenever a new record is added to the Notes list.
Any insight is appreciated.