Create a job that receives an XML file via a hot folder, creates a new job using information from the XML file, and then moves the XML file to the new job.
Funnel, which receives the XML files and creates the new jobs based on the XML files.Funnel job, create a new rule set, and start it with the Job Hot Folder Drop event.Add the Read XML action, and set the following parameters:
Parameter | Setting |
|---|---|
Schema Name | General > MySchema |
File | Item (File) |
Validate | True |
Add the Create Job action, and set the following parameters:
Parameter | Setting |
|---|---|
New Job Name | XML Data (MySchema) > JobName |
Job Group | MyGroup |
Template Job | Template |
Create from Template Job Options | Rules |
Add the Copy or Move Files action, and set the following parameters:
Parameter | Setting |
|---|---|
Files to move | Root Event (Job Hot Folder Dropped) > UNC File Paths |
Destination Directory | Job > Home > Path Name |
Do move | True |
HotFolders\Processed folder at job home of the Funnel job to the job home of the newly created job.UserDefinedFolders folder inside the job folder. You can also move it into a specific subfolder that you define in Prinergy Administrator.Add the Send Remote Trigger action, and set the following parameters:
Parameter | Setting |
|---|---|
Destination Machine | Previous Event (Job Created) > Job > Home > Server Name |
Destination Context | Previous Event (Job Created) > Job > Job Name |
Rule Set Path | ProcessJob |
Additional Properties: String 1 |
|
Funnel.Funnel job.Funnel job: