Skip to content

How do I correctly map a "Execute Query" API response to an existing (form) field? #15012

Answered by avivkri
aMacDawg asked this question in Help
Discussion options

You must be logged in to vote

Hello @aMacDawg,

You can add another 'Update Field Value' action after your 'Execute Query' action and refer the result from previous action like so - {{ Action X.Query Result }} or {{ Action X.Query Result.data.[0] }} where X is the action step number seen in UI (1. or 2. and so on)

Here you will find more documentation on these.
https://docs.budibase.com/docs/form-actions#update-field-value
https://docs.budibase.com/docs/chaining-actions#action-referencing

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@aMacDawg
Comment options

@aMacDawg
Comment options

Answer selected by aMacDawg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
actions Relating to Budibase app actions bb-rest
3 participants