こんにちは、
列 ProecssInstanceName から SQL クエリを使用して一意の番号を取得したいと考えています。スナップショットを以下に添付します。
現在、このクエリを使用して以下の結果を取得しています。クエリは
select c.StreamName AS Category,ProcessInstanceAppianID as jobId,a.ProcessInstanceName,a.ProcessInstanceTargetDate AS TargetDate,a.ProcessInstanceDescription as TaskDescription,b.Name as department
from InternalUseOnly..ProcessInstance a
join InternalUseOnly..Departments b on b.KeyDepartment=a.KeyDepartmentEntered AND b.updoperation <2
join InternalUseOnly..ProcessStream c on c.KeyProcessStream=a.KeyProcessStream and c.updoperation <2
where ProcessInstanceCompleted is null
and a.KeyProcessStream in
(330) and a.updoperation <2
前もって感謝します。