Hi Manish,The SQL Queries in the Workflow can be directly used in the
JavaScript Activity.The Syntax to do so is given below :1. var
sqlQuery=("Select iworkflowid, ifailed from xtkworkflow where
sinternalname='abc'''); var
wfState=sqlSelect("publicUrl,@getWfID:int,@getWfFailedStatus:int",sqlQuery);
Note # @getWfID -> getWfID is the variable name (anything you may give),
and int is datatype of the value which will be returned by SQL Query.
Also, if you want to use this variable somewhere in your ...