We are executing a proof of concept of a simple workflow using APPIAN. To keep it simple and to implement faster we do not want to use any API calls / databases. We have our sample data available in json files.
Is there a way to read data from json files to populate the data on interfaces easily?
Discussion posts and replies are publicly visible
Hi Balaji,
You can leverage the Text File Reader plugin (https://community.appian.com/b/appmarket/posts/text-file-reader) for reading your JSON files. Consider the below code for doing it. Once you have a dictionary, you can cast to a CDT your interface might be expecting to receive as an input.
a!fromJson( { fn!readtextfromfile(YOUR_DOCUMENT, true()) } )