1 Reply Latest reply: Mar 22, 2018 11:38 AM by Thomas Stratton RSS

    How to use a manifest for a visual process with Dataprep

    Thomas Stratton

      Does anyone have a sample Automator process / and xml manifest file they can share for using a manifest with a Visual Process to kick off a Dataprep export? 

       

      I've been looking at the API samples but I think the only examples I found there are for Classic Monarch.

      Is this possible for Dataprep or are manifests only for Classic Monarch processes?

        • Re: How to use a manifest for a visual process with Dataprep
          Thomas Stratton

          Found the basic answer in the help file for Monarch Server under topic "Visual Process with Manifest Monitoring".

           

          Additional documentation (via XSD file) in VisualProcessesApiSamplesVS2013.7z\VisualProcessesApiSamples\Models\Manifest\ProcessStartParams.xsd in my Datawatch server installation directory Samples.

           

          I was trying to determine how to add runtime values in a Visual Process... untested example below which I believe is going to do the trick.

           

          <?xml version="1.0" encoding="utf-8"?>

          <ProcessStartParams ProcessName="Test name">

             <ProcessItems>

               <ProcessItem>

                 <ItemType>InputFile</ItemType>

                   <FileInput>

                      <Name>File Input</Name>

                       <FileLocation>file:Input path</FileLocation>

                      <PdfPassword/>

                   </FileInput>

               </ProcessItem>

             </ProcessItems>
            
             <RuntimeFields>
                <RuntimeField>
                   <Name>RuntimeName</Name>
                   <Value>RuntimeValue</Value>
                </RuntimeField>
             </RuntimeFields>

          </ProcessStartParams>