I’m working on an RPA assignment where I read data from multiple Excel files (CustomerBookings, FareDetails, CustomerDetails). I need to create a shared workflow that validates each booking record with rules like:
-
TravelDate must be greater than BookingDate
-
(Destination, Mode) must exist in FareDetails
-
MembershipStatus must be “Yes” or “No”
Then, in the main workflow, I need to reuse this shared workflow, process only valid records, calculate fields (GST, Discount, Final Fare), sort by TravelDate, and generate destination-wise Excel files with multiple sheets by Mode.
What is the best practice design for:
-
Passing row data to a shared workflow and getting back validation status + error message?
-
Handling lookups against other Excel tables inside the shared workflow?
-
Structuring the main workflow so it stays clean and reusable?