Test Data Manager

Expand all | Collapse all

Please advise if there is way i can call a javelin flow inside another javelin visual flow ?

  • 1.  Please advise if there is way i can call a javelin flow inside another javelin visual flow ?

    Posted Feb 21, 2017 02:50 PM

    Please advise if there is way i can call a javelin flow inside another javelin visual flow ?



  • 2.  Re: Please advise if there is way i can call a javelin flow inside another javelin visual flow ?
    Best Answer

    Broadcom Employee
    Posted Feb 21, 2017 03:10 PM

    Sure!


    The most obvious way is to call Javelin on the cmd-line, from within a Javelin flow.

     

    1. How to do a generic cmd line call: 

    Use the Invoke Process Activity to call a .bat which calls Javelin on the command line.(Note, executable name is actually executable path here- so it should be the path of the .bat which implements the below.)

     

    2. You call javelin on the command line like this:

    JavelinExecutor.exe file=job_file_path.xml

    3. Your javelin job file should look like this:

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

    <GTJavelinJob>
      <FlowPath>Myflowpath</FlowPath>
      <VariableFilePath>Myvariablefilepath</VariableFilePath>
      <outdir></outdir>
      <LogFile></LogFile>
    </GTJavelinJob>

    4. The variable file is a CSV, you can see it's format below, or 'export variables' from a flow that you have so that you can see the what the format needs to be:



  • 3.  Re: Please advise if there is way i can call a javelin flow inside another javelin visual flow ?

    Posted Feb 21, 2017 03:30 PM

    Thanks a lot