Performing a final task in a process

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
kklosson
Posts: 1665
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Performing a final task in a process

Post by kklosson »

Here's my process:

FIND BO IN BATCHES OF 100
[Call Process] to extract document attributes into a folder structure
[Call Process] EXECUTE PROGRAM to zip the file/folder structure to .zip
[Call Process] DISPLAY URL to download the .zip file

Everything works but it seems no matter how I structure things, the second process (zip files) is always executed for each object resulting in an embedded .zip files inside of each .zip file. I only want to zip the files once when the whole file structure is built. Step one needs to be completed before moving to step 2. How can I do that?
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Heavy on AwareIM Reports
Jaymer
Posts: 2539
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Performing a final task in a process

Post by Jaymer »

add parent process
calls Process A, then Process B

lines 1 & 2 in Process A
lines 3 & 4 in Process B
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
kklosson
Posts: 1665
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Performing a final task in a process

Post by kklosson »

Thanks, Jaymer. I have tried that configuration. I still get recursive zip files.
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Heavy on AwareIM Reports
kklosson
Posts: 1665
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Performing a final task in a process

Post by kklosson »

Looks like I got it. It was as you said. I needed to isolate the initial procedure completely.
Thanks!
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
Heavy on AwareIM Reports
Post Reply