RPA Flowchart Tips and Tricks Follow
This article is still being written.
KeepAlive sessions within RPA
When using partial services with keepAlive flag, it is the RPA programmer's responsibility to close the session via keepAlive=false or via Services.killSession().
Specifically, in the following cases the RPA doesn't automatically close the session:
- RPA that finishes successfully.
- Javascript node that calls ’throw’.
- Exit.ThrowError node.
- Exit.Finish node.
- Service node that runs a full service .
- Service node that starts a new keepAlive session.
In all above cases, the session will remain alive until closed manually OR until SESSION_MANAGER_PARTIAL_SESSIONS_TIMEOUT_SECONDS.
The RPA automatically closes the session only in the following cases:
- Service node of a partial service that fails (it closes the keepAlive session it received).
- Services.startSession() - the command sets keepAlive=true and kill any existing session.
- Services.killSession().
Comments
0 comments
Please sign in to leave a comment.