
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 01:31 PM
Hello everyone, Can anyone guide me on how to get the first item from a Watch List field?
My code below shows an error in the Flow Designer when assigning the 1st item of the Array to the output variable

My Watch List Field contains the following value:
email1@job.com.br, email2@job.com.br, email3@job.com.br
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 01:39 PM
Hi,
Code looks good, try adding the info messages to see which line is causing problem.
Or try removing underscore and test.
Thanks,
Gaurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 01:39 PM
Hi,
Code looks good, try adding the info messages to see which line is causing problem.
Or try removing underscore and test.
Thanks,
Gaurav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 01:39 PM
Hi Rafaeloneil,
Replace line no 6 outputs._result = firstname with outputs.result = firstname
- Pradeep Sharma