Log data where the problem is happening

The data/log action is similar to the print features in programming languages. It is used to print logs at a certain point in the flow. 

The below solution is going through a debugging process by applying data/log action between the actions .  Notice that logs in printed the logs for the first data/log and the second data/log after the data/set action.  However, the data/log action after the array/join action printed an error. 

Tips

Logs print out the actual data received at a given point in the flow (not just mock data).  Hence it is useful when debugging the real request coming from the data source such as the UI.

Leave a Reply