oimel Posted March 26, 2012 Posted March 26, 2012 Hello, I try to get a field value out of the running BMC Remedy, but it does not seem to work yet. I don't even get connectet to BMC Remedy. I tried this code: $objRemedy = ObjGet("","Remedy.User") $objField = 0 $objForm = 0 If Not $objRemedy = 0 Then $objForm = $objRemedy.GetActiveForm() If Not $objForm = 0 Then $objField = $objForm.GetField("TicketID") If Not $objField = 0 Then MsgBox( 0, "Ticketnummer", "TicketID: " & $objField & ".") Else MsgBox( 0, "Hinweis", "Field not found") EndIf Else MsgBox( 0, "Hinweis", "Form not found") EndIf Else MsgBox( 0, "Hinweis", "Remedy not found") EndIf But it already fails at the first request and gives me a "Remedy not found". Could you help me, please? Thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now