search cancel

TDM Portal Self Service Tile is not failing when Javelin Fails

book

Article ID: 200859

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

 
 

We are executing a Self Service request which in turn invokes Javelin flow, but the tile is showing as 'Complete' even if the Javelin flow has failed.

We tried looking into community portal but couldn't find any solution related to our problem.

We tried alternatively using try to catch and assign Environment.Exitcode=1 in  javelin, but we are getting error in doing so.

 

Cause

Needed to set variable from environment to environment2.

Environment

Javelin v2.0.715.0
DataMaker 4.8.0.15
CA TDM Portal 4.8.173.0
Database - Microsoft SQL Server Developer v12.0.6329.1

Component : CA Test Data Manager - TDM Web Portal

Resolution

In the Javelin flow, set Environment.ExitCode to -1 right after Start.

In the Javelin flow, set Environment.ExitCode to 0 right before End if there were no errors.

Enabled enable "Success Required" and "Synchronous Call" (in DM) or "Wait for Completion" (in Portal) options for the publishing action.

Attachments