Hey,
I have an array (see below), I have a varaible in a data-store and was wondering how I search for the key in the array and return the item?
I just want to return the value of the key in the array so if the key is AUD return 299.00
Hey,
I have an array (see below), I have a varaible in a data-store and was wondering how I search for the key in the array and return the item?
I just want to return the value of the key in the array so if the key is AUD return 299.00
Hi @Chris_Bradley
If the variable is always same, then we can use switch module or function to achieve this.
Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation
Here is an example workflow
We are setting key as AUD
We have used your sample structure:
Now this is the sample workflow:
Use switch module to get the correct output:
Now you can map the output variable from switch module:
Final output:
Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation
thanks heaps. got it!