Select to view content in your preferred language

Arcade Expression does not populate field

106
0
a week ago
TimHayes3
Frequent Contributor

Hello, 

In Field Maps Designer - Form, I have created an expression that if UPD_PERSON contains the letters "FFD" that the value in UPD_PERSON will get populated in UPDATE_BY.

 

I test it in Field Maps, make edits to a point, and the UPDATE_BY field stays empty. 

Here is the calculated expression I added to UPDATE_BY field:

if (Find("FFD", $feature.UPD_PERSON) > -1) {
  return $feature.UPDATE_BY;
}
 
Can someone tell me what I need to do fix the expression?
 
 
On a separate note, I have a UPDATE_DATE field that gets autopopulated with the current date using the Arcade expression Now (). No problems with this expression. 
 
Thank you. 
 
0 Kudos
0 Replies