{{ __('Configure when a rule fires, which tickets it matches, and what it does.') }}
{{ __('Candidates :n (showing first :s).', [ 'n' => $previewPayload['candidate_count'] ?? 0, 's' => count($previewPayload['candidates'] ?? []), ]) }}
| {{ __('Ticket') }} | {{ __('Subject') }} | {{ __('Would fire?') }} | {{ __('Planned actions') }} |
|---|---|---|---|
| #{{ $candidate['ticket_id'] }} | {{ $candidate['subject'] ?: '(no subject)' }} |
@if (! empty($candidate['matched']))
|
{{ implode(', ', $candidate['planned_actions'] ?? []) ?: '—' }} |
{{ __('Last 10 attempts the engine made against this rule. Skipped means the ticket drifted out of the matching state between the scan and the action.') }}
@if (collect($executions)->isEmpty())| {{ __('When') }} | {{ __('Subject') }} | {{ __('Status') }} | {{ __('Detail') }} |
|---|---|---|---|
| {{ $execution->started_at?->diffForHumans() ?? '—' }} | @if ($execution->subject_type && $execution->subject_id) {{ class_basename($execution->subject_type) }} #{{ $execution->subject_id }} @else — @endif |
@php $status = $execution->status; @endphp
|
@php $reason = $execution->condition_snapshot_json['reason_if_skipped'] ?? null; $err = $execution->error_json['message'] ?? null; @endphp @if ($err !== null) {{ $err }} @elseif ($reason !== null) {{ $reason }} @elseif ($status?->value === 'succeeded') {{ __('Actions ran cleanly.') }} @else — @endif |