Zum Inhalt springen

testScript

Run a JS_SCRIPT one-off (admin only) to test it without a ProcessStep. If objectID is given, the object is loaded into input like a real run. Returns the return value, logs and any error.

Type: ScriptTestResult!

Arguments

  • inputMappingJson: String
  • objectID: String
  • scriptJs: String!
mutation($inputMappingJson: String, $objectID: String, $scriptJs: String!) {
testScript(inputMappingJson: $inputMappingJson, objectID: $objectID, scriptJs: $scriptJs) {
error
logs
ok
output
}
}