@@ 495-502 (lines=8) @@ | ||
492 | throw new Exception\InvalidMetadataException($errMsg); |
|
493 | } |
|
494 | ||
495 | if (static::WORKFLOW_RUN_INITIALIZE === $this->getWorkflowRunType()) { |
|
496 | $workflowNameRouterParam = $this->getWorkflowNameRouterParam(); |
|
497 | $workflowNameRouterParam = trim($workflowNameRouterParam); |
|
498 | if (empty($workflowNameRouterParam) || null === $workflowNameRouterParam) { |
|
499 | $errMsg = 'Invalid workflowNameRouterParam'; |
|
500 | throw new Exception\InvalidMetadataException($errMsg); |
|
501 | } |
|
502 | } |
|
503 | ||
504 | if (static::WORKFLOW_RUN_TYPE_DO_ACTION === $this->getWorkflowRunType()) { |
|
505 | $entryIdRouterParam = $this->getEntryIdRouterParam(); |
|
@@ 504-511 (lines=8) @@ | ||
501 | } |
|
502 | } |
|
503 | ||
504 | if (static::WORKFLOW_RUN_TYPE_DO_ACTION === $this->getWorkflowRunType()) { |
|
505 | $entryIdRouterParam = $this->getEntryIdRouterParam(); |
|
506 | $entryIdRouterParam = trim($entryIdRouterParam); |
|
507 | if (empty($entryIdRouterParam) || null === $entryIdRouterParam) { |
|
508 | $errMsg = 'Invalid entryIdRouterParam'; |
|
509 | throw new Exception\InvalidMetadataException($errMsg); |
|
510 | } |
|
511 | } |
|
512 | } |
|
513 | } |
|
514 |