{/* ---------- Left: profile + record info ---------- */}
{name}
{designation &&
{designation}
}
{status &&
{String(status)}}
{email ? {String(email)} : null}
{phone != null ? String(phone) : null}
{code != null ? String(code) : null}
{view.meta.length > 0 && (
{view.meta.map((m) => (
{formatMeta(m.value)}
))}
)}
{/* ---------- Right: every field the detail view returns ---------- */}
{empty ? (
) : (
view.sections.map((section, i) => (
{section.fields.map((f) => (
- {f.label}
-
))}
))
)}
Raw response
{JSON.stringify({ detail_view: view.raw, workflow_instance: view.instance ?? null }, null, 2)}