I'm making a module where it reads data from an Excel File I upload on its page. The Excel file is a raw output of another app, so nothing has changed, including the format of each column. The data in the Excel file has a Transaction Date column that is formatted "General". I used Data Importer to make the table based on this Excel file, and the attributes generated are just the same as all the columns of the file. The plan is, this Excel file is going to be uploaded raw through the module page, but the transaction date column is saved in an attribute with Date and Time type. Here's the microflow I made when the "Save" button is clicked: How do I convert the Transaction Date from "General" into String through this microflow?
asked
Triani Napitupulu
2 answers
1
UPDATE!
I've solved this problem. Hope this will solve yours too.
The plan is, nothing on the Excel file is going to be modified by the users of the app before uploading. Here's what I finally did :
Using Data Importer, I uploaded the Excel file to make the entity with attributes from that file.
The entity generated was persistable by default.
I made a copy of that entity, but made it non-persistable. This entity is related to a different System.FileDocument entity.
The trick is the use of Iterator.
On the Create Disbursement activity, set the Transaction_Date value as