Skip to Content
0
May 20, 2020 at 07:01 PM

How to use Handlebars on the data retrieved from the API?

130 Views

Hi All,

My requirements are:

1. I have to do the error validation on the data retrieved from the API service.

2. I need to select a only few name value pairs based on some criteria.

2. I have to format date data.

I see it can be scripted using the Handlebars and the link to documentation https://help.sap.com/viewer/a4522a393d2b4643812b7caadfe90c18/latest/en-US/b4f08a9a66434327a405b6934880445c.html

I tried using the Handlebars in the text message tab after the API response. I am not getting the desired results. Is there any other way to do it ? Where do I need to keep the handlebars script?

Thank you,

Regards,

Sushanth

Attachments

1.jpg (49.7 kB)
2.jpg (24.5 kB)