Skip to content

Commit 8d5bd84

Browse files
committed
FOUR-24596: Cases are stopped when a script task is executed
1 parent 11eb32d commit 8d5bd84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)