@php
use App\Classes\CamundaEntities;
@endphp
@extends('layouts.base')
@section('heading')
{{ __('Task') }}: {{ ($task['name'] ?? $task->name) ?? 'not found or already completed' }}
@endsection
@section('info')
Id: {{ ($task['id'] ?? $task->id) ?? 'not found' }}
@endsection
@section('focus_action')
@if (($found ?? false) && !($finished ?? false))
@if (($found ?? false) && (!$finished ?? false))
Process Definition: {{ $task->definition()->name }}
Task Attributes:
{{-- {{ dump($task) }} --}}
@foreach ($task->CamundaTask as $key => $item)
{{ $key }}
@if (is_array($item) || is_object($item))
@dump($item)
@else
- {{ $item }}
@endif
@endforeach
{{-- {{ dump($task->definition()) }} --}}
{{--
{{ $task->instance()->id }}
--}}
Variables: {{ count($task->variables()) }} variables
@foreach ($task->variables() as $variable => $variableData)
{{ $variable }}
@dump($variableData)
@endforeach
Assign Task to a user
@php
$users = CamundaEntities::users();
@endphp
@php
// dd($task->instance());
@endphp
@endif
Entity History
@foreach ($history as $key => $_history)
@if (is_array($_history)) {
{{ $key }} : @dump($_history)
}
@elseif ($_history != (null || ''))
{{ $key }} : {{ $_history }}
@endif
@endforeach
@endsection