Implemented

Validation of ticket numbers

0 vote

avatar
josefalbert
Disabled

Hi,

currently its not possible to validate ticket numbers ("Ticket #" from "open session comment").
For more infos see DEVO-22254.

My idea is to to access the ticket id in a pre-powershell script.
Like $RDM.TicketID or something else.

Currently it's not possible to access my ticket number in a powershell script.
If this would be possible i could validate the ticket with a powershell script before the rdp session starts.

Also it would be nice to cancel a session if a pre powershell script exits wir a specific errorlevel or return code. (1 or something else)
The current workaround for this is to set the connection to null like this:

$RDM.Connection.Host = "";
$RDM.Save();


Thx.

All Comments (12)

avatar

Hi,
that would be a great feature.
This would solve many issues concerning security and access control that we currently are unable to solve because of the missing option to validate the ticket numbers.

Best regards
Armin

avatar

Hello,
I'm currently working on this request and this should be easy to add. For now, you can call this to cancel the connection instead of the workaround:

$RDM.Cancel = $true;

Regards

David Hervieux

avatar

Hi David,

thank you, this would be so awesome for our audits.

avatar

Hello,
This will be in the next beta release. Here is an example where I add the ticket number to the connection title:

$RDM.Connection.Name = $RDM.Connection.Name + " [" + $RDM.Prompt.TicketNumber+ "]";

You will also be able to access the comment

$RDM.Prompt.Comment

Regards

David Hervieux

avatar

Hi,

if you currently working on this....
Could you also check the focus from the ticket / comment prompt? ;)

The focus always jumps in the comment textfield, even if the ticket id is mandatory and the comment not.
It's a bit annoying.

Thank you

avatar

Ahahah... it's funny. I was just fixing that. Indeed it was annoying for me too :)

Regards

David Hervieux

avatar

Perfect, thank you.
Do you have a date for the next release? (approx)

avatar

Hello,
This should be available in RDM 2020.2.9 Beta later this week.

Regards

David Hervieux

avatar

Thx David,

is there a list available what the $RDM object contains?
Thx.

avatar

Hello,
I have asked the documentation team to add this to our knowledge base but it's only contains these:

Cancel { get; set; } // Used to cancel the open process

Prompt { get; } // Contains Comment and TicketNumber

Connection { get; } // Contains the current session/connection

Regards

David Hervieux

avatar

Hi,

i mean one level deeper.
Like $RDM.Connection.ID, $RDM.Promt.TicketNumber, $RDM.Promt.Comment

avatar

Hello,

Consulting this article should help you on how you can get the information's from the XML properties of the session to perform the batch actions.
https://help.remotedesktopmanager.com/powershell_batchactionssamples.html

Best regards,

Jeff Dagenais

Ends in 8 days