Hi all,
I have a question to anyone who knows. Say I run a process in the browser and it runs long and after 30 min I get an timeout error and am logged out, will that process run to completion in the background by itself or what happens? I had this issue recently and when I was logged out due to the timeout error, I logged in again and looked at "Active processes" and the process I ran before the timeout was on the list so I decided to just let it be and do nothing. I checked back a couple of hours later and my process was no longer on the "Active processes" list, does that mean the process kept running and ran to completion? (unfortunately, I have no easy way of checking the data for this particular situation to verify what happened).

Thanks

  • The process should complete even if it times out for the user. You should make it a proper long process by specifying the background property of the process. In this this case the process will run asynchronously and the user session will not timeout. when the process completes you will be notified by the async message.

Can you display a message at completion to confirm it got to the final step?

kklosson wrote

Can you display a message at completion to confirm it got to the final step?

I doubt the message would work if the user session has been terminated. I may be wrong, but I was thinking of another approach.
Perhaps it would be easier to add a last step in the process that writes the current time into an attribute.
SystemSettings.MyProcessLastCompletion=CURRENT_TIMESTAMP

Yes, I will probably build some way of verifying the process going to completion and then test it. I just never thought about what actually happens in situations like these before, I usually roll back and redo.

13 days later

The process should complete even if it times out for the user. You should make it a proper long process by specifying the background property of the process. In this this case the process will run asynchronously and the user session will not timeout. when the process completes you will be notified by the async message.

15 days later
aware_support wrote

The process should complete even if it times out for the user. You should make it a proper long process by specifying the background property of the process. In this this case the process will run asynchronously and the user session will not timeout. when the process completes you will be notified by the async message.

Makes sense, thanks for verifying.