Hello,
I'm trying to create an IPA that will update the date fields on this job automatically (one being today's date and the other being 4 days from now). I've gotten stuck trying to update the "Data" that is attached to this BatchTask. When I query this out in ISD, it gives me the xml data that goes into the Data field. I've tried to change this into a string here and put in today's date where the date should go using a Javascript expression with template literals (`) and the ${} function to amend the "Today" variable into the string. That didn't work.
I used the Today variable for both today's date and the 4 days from now date just to get it to update first. Having trouble figuring out how I can update this Data field.
**Context**
We will run this job automatically at the end of our midday PO EDI run. We see a very small amount of purchase orders fall through that are released and not issued. This is a check we do to make sure all of our orders get out the door. We don't want to have to manually update dates and run the job manually every day. Doing this will help automation. We will also need to disperse the CSV file to our team email after the job runs. I may be going the wrong direction here, this is my first time creating an IPA from scratch.


Thanks for any help or thoughts,
Michael Hagen