IndexOF is not working in Flow Designer

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 01:04 AM
HI Team,
I am getting below error while returning value in Flow Designer. Below is the code:
I am getting below error:
Cannot find function indexOf in object .,Detail: Cannot find function indexOf in object
1 REPLY 1

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2024 01:09 AM
Issue is resolved its working now after changing
line no 4 to String.
var arrValues = fd_data._3__for_each.item.u_authority_role.toString();