mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
For runProcess, send the input object through processBodyToJsonString (e.g., for js to java object conversion0
This commit is contained in:
@ -299,6 +299,7 @@ public class ApiScriptUtils implements QCodeExecutorAware, Serializable
|
|||||||
validateApiNameAndVersion("runProcess(" + processApiName + ")");
|
validateApiNameAndVersion("runProcess(" + processApiName + ")");
|
||||||
|
|
||||||
Map<String, String> paramMap = new LinkedHashMap<>();
|
Map<String, String> paramMap = new LinkedHashMap<>();
|
||||||
|
params = processBodyToJsonString(params);
|
||||||
String paramsString = ValueUtils.getValueAsString(params);
|
String paramsString = ValueUtils.getValueAsString(params);
|
||||||
if(StringUtils.hasContent(paramsString))
|
if(StringUtils.hasContent(paramsString))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user