Skip to content

Commit efb216c

Browse files
authored
Merge pull request #7948 from ProcessMaker/bugfix/FOUR-21596
FOUR-24596: Cases are stopped when a script task is executed
2 parents 11eb32d + 8d5bd84 commit efb216c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProcessMaker/Services/ScriptMicroserviceService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function handle(Request $request)
1919
$response = $request->all();
2020
Log::debug('Response microservice executor: ' . print_r($response, true));
2121
// If the call is from preview
22-
if ($response['metadata']['nonce']) {
22+
if (!empty($response['metadata']['nonce'])) {
2323
$status = $response['status'] === 'success' ? 200 : 500;
2424
$output = $response['status'] === 'success'
2525
? ['output' => $response['output']]

0 commit comments

Comments
 (0)