Skip to content

Commit 74212c5

Browse files
committed
FOUR-29250 Resolve element destination URL for customDashboard as well as externalURL.
1 parent deba121 commit 74212c5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ProcessMaker/Models/ProcessRequestToken.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,8 +1531,10 @@ private function getElementDestination($elementDestinationType, $elementDestinat
15311531
$elementDestination = $elementDestinationProp['value']['url'] ?? null;
15321532
}
15331533
}
1534-
if ($elementDestinationType === 'externalURL' && is_string($elementDestination) && $elementDestination !== '') {
1535-
$elementDestination = $this->resolveElementDestinationUrl($elementDestination);
1534+
if (is_string($elementDestination) && $elementDestination !== '') {
1535+
if ($elementDestinationType === 'externalURL' || $elementDestinationType === 'customDashboard') {
1536+
$elementDestination = $this->resolveElementDestinationUrl($elementDestination);
1537+
}
15361538
}
15371539
break;
15381540
case 'taskList':

0 commit comments

Comments
 (0)