How to use a manifest for a visual process with Dataprep

Thomas_21587
Thomas_21587 Altair Community Member
edited January 2018 in Community Q&A

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?

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2018

    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>