Steps to run a batch file from Javelin using the 'InvokeProcessActivity' step
search cancel

Steps to run a batch file from Javelin using the 'InvokeProcessActivity' step

book

Article ID: 231433

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

When trying to run invoke process utility for Javelin, it works fine for automating a masking script for a text file, however it does not do anything when used to automate the flow for a DB and the command prompt just hangs for a while and says masking complete. 

Environment

Release : 4.9.1

Component : Javelin

Cause

Found that the step was malformed.

Resolution

With reference to below article titled "Running a FastDataMasker batch job from the TDM Portal using Javelin."

https://ca-broadcomcsm.wolkenservicedesk.com/wolken/esd/knowledgebase_search?articleId=201937

===============================================================

Steps to prepare the Workflow for use by others.
1) On the server create a Javelin workflow file (.vwf) that executes an FDM batch job for example.
You could use a 'InvokeProcessActivity' step with:
Arguments: "/c c:\mask\mask1.bat"
ExecutableName: "c:\windows\system32\cmd.exe"
WorkingDirectory: "c:\mask"
2) In Javelin, verify that this job runs without error.

===============================================================

Modified the InvokeProcessActivity step with the above guidelines and it worked!