• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
New Topic
Discussions Recipe Building Formula Mode Questions
S

Saul Macht

started a topic about 4 years ago

Pluck works for array data but not hash data

Hi, I have a question about formula mode.


How can I retrieve the value from a hash in a similar fashion as you would for an array using .pluck?


"CustomerRef": {"value": "1", "name": "Zee Corp"}


For example, I want to retrieve the value=1

Amanda Wong

said about 4 years ago

If you are working with a hash instead of an array data pill, you can use ['api_name'] to retrieve the data value e.g.


CustomerRef['value'] returns 1

Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2020   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato