# Multi-day Scripts

**URL:** <https://forums.eggplantsoftware.com/t/multi-day-scripts/14404>\
**Category:** Eggplant Examples\
**Tags:** epic, eggplant-functional\
**Created:** [April 30, 2025, 1:12pm UTC](https://forums.eggplantsoftware.com/t/multi-day-scripts/14404 "2025-04-30T13:12:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [April 30, 2025, 1:12pm UTC](https://forums.eggplantsoftware.com/t/multi-day-scripts/14404/1 "2025-04-30T13:12:43Z")

</div>

Are there some of you who are testing workflows that take multiple days to complete? As an example, a patient is admitted to the hospital on Monday and discharged on Tuesday.

How do you accomplish passing information from the day 1 script to the day 2 script? What issues have you run into? Which cool hacks have you achieved?

---

<div class="post-metadata">

**Author:** ![scsvel](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/scsvel/32/316_2.png) [@scsvel](https://forums.eggplantsoftware.com/u/scsvel)\
**Post date:** [April 30, 2025, 6:54pm UTC](https://forums.eggplantsoftware.com/t/multi-day-scripts/14404/2 "2025-04-30T18:54:03Z")

</div>

Right now, I have my test data sheet in the shared drive, and I will update whatever things need to be noted down for further tests or next day in the sheet, and script will fetch from the sheet. I have my Test\_ID as a unique key like T001, T002, etc., and then required columns in sheet. I have written the script which will fetch the required data from the corresponding row or differently as per the needs.  
I always use numbering to name the tests or test script files like below so this will be easy to handle data.  
001\_Create\_and\_verify\_something  
002\_Check\_something\_else

The only thing is that EPF is not able to check or get files in the shared folder unless it is mapped like a drive. I would love if EPF handles this without mapping like \\someserver\somefolder as the IT team will delete custom mappings once I logoff, and need to map again before run.

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [May 8, 2025, 1:56pm UTC](https://forums.eggplantsoftware.com/t/multi-day-scripts/14404/3 "2025-05-08T13:56:56Z")

</div>

Shan, please mention this to your Eggplant TC. You are not alone in looking for better ways to access network shares.

---

<div class="post-metadata">

**Author:** ![GTPWilks](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/gtpwilks/32/170_2.png) [@GTPWilks](https://forums.eggplantsoftware.com/u/GTPWilks)\
**Post date:** [May 14, 2025, 3:16am UTC](https://forums.eggplantsoftware.com/t/multi-day-scripts/14404/4 "2025-05-14T03:16:09Z")

</div>

I would say most our scripts are multi day, meaning we have a Test01\_Day1.script, Test01\_Day2.script and so on. We have one json (Test01.json) that has a patientdata block (for the patient information) and a scriptdata block which keeps track of which day its on an other non patient  
script info run type data. Most of our scripts all start the same where they call a handler to read in the json data. We verify the scriptdata information is valid (correct day) before its allowed to run. The test will update patientdata as it runs but the end of a script will do a final update as well as update the scriptdata block so they next day can validate its ready. Hopefully that made sense
