-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
791ca32
commit c9e4cd5
Showing
11 changed files
with
456 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import java.util.logging.Level | ||
import java.util.logging.Logger | ||
|
||
|
||
|
||
/* ******************************************************************* */ | ||
/* */ | ||
/* Name: Executing a SQL Request */ | ||
/* */ | ||
/* Description: The SQL Request is executed on the Engine Database */ | ||
/* */ | ||
/* ******************************************************************* */ | ||
|
||
Logger logger = Logger.getLogger("org.bonitasoft.groovymaintenance.executeflownode"); | ||
|
||
StringBuilder analysis = new StringBuilder(); | ||
|
||
// flow nodes | ||
// Attention, at this moment, the list may be a list of whatever - soon more control | ||
String sqlRequest= {{sqlRequestBonita;type:TEXT;default:select ID, STARTDATE ,NAME from process_instance}}; | ||
int maxRecords = {{MawRecord;type:INTEGER;default:1000}}; | ||
|
||
|
||
|
||
analysis.append("SqlRequest ["+sqlRequest+"]...<br>"); | ||
List<Map<String,Object>> listResult = towTruckToolbox.executeSqlRequest( sqlRequest, maxRecords ); | ||
|
||
analysis.append("<br>"); | ||
analysis.append( towTruckToolbox.decoratorHtmlFormated(listResult)); | ||
|
||
|
||
return analysis.toString(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.