In reply to: Siddharth Nigam
Hi Daniel,
Thanks for your quick reply. Is it possible to automate this.
The excel file will be uploaded to any location example- HotFolder and then if it has 10 employee data rows, It should automatically initiate 10 instances of a workflow with pre-populated employee details.
Regards,
Siddharth
Hi Siddharth,
I wasn't aware of this, but there's an action to read data from an excel file
In this action you can define a reference in the excel file and the target field or item list.
An item list can be populated if you define a table in excel (format the area as a table).
See (1) in the image
The columns in the item list are populated based on the header. Similar to the import from excel action for an item list. Some recommendations:
1. Activate the "allow export" option on the item list to download a template
2. Boolean values need to be imported as 0 or 1 (2 in image)
3. If there is no header/misspelled header the column is not populated (3)
4. Verify whether you need to use . or , as a decimal separator.
If the user creating the excel file should use an easier template, you could create a second sheet on which the entered data of the user is transformed to the necessary format.
All in all you can:
- use the HotFolder to start the parent workflow
- add a timeout to move to the next step which populate the item list
- add another timeout to start the sub workflows
Of course you could do this all in one path, but I prefer to have a bit more control / error handling about such workflows.
Best regards,
Daniel