Why my terminal connection closed?

I have this WF I finish it and the AS400 closed instead continue to the next WF, Can someone explain what I am doing wrong please ?

@mironb

Can you please show some error or more explanation will help

cheers

@Anil_G
What to add ?
The AS400 just close

@mironb

When you open it closes automatically? at the start only?

ideally it would open the window and not you

cheers

@Anil_G

It does the login and when the login is finished it simply closes the As400 window
I don’t open, it opens automatically with the setting

@mironb

That is not usual

can you check event viewer if you see any error there

also I hope there are no issues with the connection string

cheers

@Anil_G

@mironb

as per logs looks like you are inside the code already…can you show which activity it is on

is the close ending?

cheers

@Anil_G

I figured out the problem
In the application usage part the value in the close parameter was empty
I put never there and it worked
Again thank you very much for trying to help me as always

1 Like

when Use Application/Browser was referred, we would suggest to check also this usage:

  • Terminal Session Activity (1)
    output. Connection Variable - myCN, Close Connection - False

  • Terminal Session Activity (2,3,4…)
    using myCN, Close Connection - False

  • Terminal Session Activity (Last)
    using myCN, Close Connection - True