Skip to main content
seenivasaganp0003
August 2, 2023
Question

What is the best and efficient way if I have a process id to use process report or use process info to get the status of the process

  • August 2, 2023
  • 3 replies
  • 0 views

Hi,

Question for the community.

I have a process id and which is the efficient way to find the process status.

I don't need any other info from the status only whether it is completed or now.

3 replies

mathieud0001
August 2, 2023
seenivasaganp0003
August 2, 2023

Maybe I didn't articulate my question correctly. 

I have the process id. I want to know the status of the process whether that is still in progress.

There are two ways I have seen this implemented.

1. build a process report and pass the processid to get the status of the process.

2. user getprocesinfohistory(from get process info history plugin) to see whether the last node on the process has been completed.

which one of the above two will be efficient. I see people say getprocesinfohistory was better. 

I would like to know what the community thinks.

stefanhelzle0001
Brainy
August 2, 2023

In general, I try to minimize usage of plugins and would go with a process report.