Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
FOUR-24596: Cases are stopped when a script task is executed
  • Loading branch information
gusys committed Jan 30, 2025
commit 8d5bd84b48157730b9438f4ff0a8572d99737cfa
2 changes: 1 addition & 1 deletion ProcessMaker/Services/ScriptMicroserviceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function handle(Request $request)
$response = $request->all();
Log::debug('Response microservice executor: ' . print_r($response, true));
// If the call is from preview
if ($response['metadata']['nonce']) {
if (!empty($response['metadata']['nonce'])) {
$status = $response['status'] === 'success' ? 200 : 500;
$output = $response['status'] === 'success'
? ['output' => $response['output']]
Expand Down