Using events before start

avatar

I have a server that I want to send a start command before trying to connect.
I have created a batch file that starts the VM.
I have created a custom field name ServerID
I want to pass the VM name via a custom filed SeverID
How do I pass the ServeName to the batch command?
I am using 2023.1.20.0 64-bit


Thanks

All Comments (3)

avatar

Hello,

If the ServerID field is the first, you should use the $CUSTOM_FIELD1$ variable in the Before Open event.

Here is a sample using the Command line method.



Let us know if that works.

Best regards,

Érica Poirier

423d1417-dbb5-4d0d-a93f-267e0c8897ce.png

avatar

If I change the name of the field to SrvID can i use my name?
If yes, than How?

avatar

Hello,

Sadly no you can't modify the variable's name as it's hardcoded in the application.

Let us know if you have further questions about this.

Best regards,

Érica Poirier