cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Returning a result from a callable recipe

edward-abrahams
Deputy Chef I
Deputy Chef I

Hey all, wondering if I could get some advice on using callable recipes. I've set one up where my result schema is a single object. I then have a Python script that also outputs an object (also defined in the Workato schema.) Problem is, when I try and set the result, I can't pick anything. See here:



I can't quite get my head around why it won't accept it seeing as it's all the same type. Any ideas?


Edit: I've found if I change the input schema to text, it will let me pick the data, seems to be the type causing the problem

13 REPLIES 13

kobi-sh
Deputy Chef I
Deputy Chef I

Hi, you need to change it from Text to Formula.

Then you'll be able to map "Data" to "Data".


edward-abrahams
Deputy Chef I
Deputy Chef I

Thanks Jacob Shmerkovich - that was my first thought, but the "Return" action doesn't give me the option to switch between text and formula

kkrivonos
Deputy Chef I
Deputy Chef I

Edward, just select the "Data" on the left side and drag it into "Data" to the right. You can drag the selection although there is no datapill shown!

This doesn't work for me, I can drag it like you've shown, but it doesn't do anything