Not Double Action

avatar

I have 2 (or more) connections with BeforeStart and OnEnd actions.
Actions uses same Tool: MountVirtualDisk.cmd and UnmountVirtualDisk.cmd
When i connect to both connections - it buggy but it works fine.
But when i disconnect from one - i cannot disable do OnEnd and in tool (script) i cannot know - used it now in any other connection or not.
So - we need ability or checkbox - that RDM will see and not start action, if it used in other active connection.
"Only for FIRST active" - for "Before" actions
and
"Only for LAST active" - for "End" actions.

All Comments (3)

avatar

Hello,
This is an interesting idea, but I might have a workaround. Could you try using it as a custom VPN instead? We reference-count the number of connections opened to a VPN and execute the disconnect (which, in your case, would be your unmount script).

Regards,

David Hervieux

avatar

I'm already use VPN too for those connections.
Seems - I cannot use 2 VPN in one time

avatar

Hello,
I understand. I will create a ticket for your original request.

Regards,

David Hervieux