Commit 8f5f170b authored by asant's avatar asant

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194758 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e1ab5136
......@@ -29,6 +29,7 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
E12GenericUtility genericUtility = new E12GenericUtility();
DistCommon discommon = new DistCommon();
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
private boolean isWorkflow = false;
public String confirm(String tranID,String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
......@@ -49,7 +50,8 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
// Added by AMOL on 18-12-18 [START]
public String confirm(String tranID,String xtraParams, String forcedFlag,String userInfoStr) throws RemoteException,ITMException
{
System.out.println("#### Calling confirm ...");
System.out.println("#### Calling through workflow confirm ...");
isWorkflow = true;
String retString = "";
Connection conn = null;
ConnDriver connDriver = new ConnDriver();
......@@ -71,6 +73,7 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
connDriver = null;
retString = this.confirm(tranID, xtraParams, forcedFlag, conn);
isWorkflow = false;
System.out.println("retString:::::"+retString);
}
catch(Exception e)
......@@ -694,7 +697,14 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
throw new ITMException(e);
}
}
return errString;
if(isWorkflow)//Added by AMOL
{
return "1";
}
else
{
return errString;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment