You are viewing limited content. For full access, please sign in.

Question

Question

Import Agent - Isolate grouped files for starting rule

asked on December 21, 2018

I have a situation where I have a variable number of files with an included XML are being imported into a staging folder on the repository. I have a starting rule that monitors the folder and triggers a workflow. The workflow then bundles all the files and moves forward. The problem I'm running into is that the starting rule triggers a separate workflow for each file it detects.

 

Is there a way to isolate the files so so that the starting rule only runs once? If I could have IA create a variable subfolder, possibly created by metadata or some information in the XML, that would be ideal. Or if someone has a better way, I'm all ears (or eyes).

 

 

0 0

Replies

replied on December 21, 2018 Show version history

What is the criteria for bundling? You can switch to a scheduled starting rule, and have a single workflow run on a specified schedule. Combining that with your idea of having Import Agent create a separate folder for each incoming batch, and you might get where you want to go.

1 0
replied on December 24, 2018

When I say bundling, I mean that the workflow creates a collection out of the documents in the staging folder. If IA can create a separate folder for each batch, that would be optimal. But I don't know how to get IA to do that. I tried playing with variables in the path, but that didn't work for me.

0 0
replied on December 21, 2018

What I've done is I have my starting rules to run on entries created that do not have the extension of "xml".  This leaves the XML files alone and only grabs the tiff files.  Then in my workflow I use a find entry to grab the corresponding XML file I need and read the information within to assign metadata.  Not sure if you are trying to do something similar or not. 

0 0
replied on December 24, 2018

When IA processes the XML in the file share, it doesn't come over with the documents. Is there a way to configure the Starting Rule to grab multiple files. Currently the starting rule is kicking off the workflow for each file that it detects.

0 0
replied on December 24, 2018

Have you looked into Importing List Files with Import Agent?  If you can have the XML file generated to match the Import Agent List file definition, Import Agent will import, name, and index (apply field values) directly.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.