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 (5)

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

avatar

Hello, @David Hervieux

See a big update.

I there a way in this update to say for tool to start only for first entry and stop only for last ?

To act as vpn, but not be a vpn, because vpn used too.

avatar

Hello,

  Let me check if I can find a way to do that, it might not be as simple as the VPN. I will investigate.

Regards

David Hervieux