function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Madhu DkMadhu Dk 

how to read/assign newvalue oldvalue from history object in flow

Hi All

How to read/assign NewValue,OldValue from service appointment history object in a Flow.

In side the loop i am checking a condition
if(loopvar.NewValue == 'Travel'){
}

But when this executes it throws error
Formula result is data type (Object), incompatible with expected data type (Text)

i think loopvar.NewValue is returning a object.
But how to read/convert tha object to text type

Kindly help me out

Thank you.