That sound perfect Peter.
I think this issue can be closed then.
Original Message:
Sent: Feb 19, 2025 01:34 AM
From: Peter Grundler
Subject: How to read e.g. EXPIRATION_DATE# from buffer (for EXECUTE_ON_CERTIFICATE_EXPIRING)
Hi Andre,
some days ago, I have implemented the mechanism on my v24.3 system - it's working as expected.
If you have started the CALL manually, there must be a dialog "Eingabeaufforderungen" waiting for the input of the read commands.
regards,
Peter
------------------------------
Automic Certified Professional/Expert & Broadcom Knight
For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
Original Message:
Sent: Feb 18, 2025 02:54 AM
From: Andre Eymann
Subject: How to read e.g. EXPIRATION_DATE# from buffer (for EXECUTE_ON_CERTIFICATE_EXPIRING)
Thanks Peter.
I assume it might work if the call gets triggered/executed by the system. If i execute the call object with my user it hangs "generating".
------------------------------
comdirect – eine Marke der Commerzbank AG
Original Message:
Sent: Feb 17, 2025 08:27 AM
From: Peter Grundler
Subject: How to read e.g. EXPIRATION_DATE# from buffer (for EXECUTE_ON_CERTIFICATE_EXPIRING)
Hi Andre,
this looks OK.
regards,
Peter
------------------------------
Automic Certified Professional/Expert & Broadcom Knight
For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
Original Message:
Sent: Feb 17, 2025 05:09 AM
From: Andre Eymann
Subject: How to read e.g. EXPIRATION_DATE# from buffer (for EXECUTE_ON_CERTIFICATE_EXPIRING)
Thanks a lot Peter!
I would try it the following way within a CALL-Object (process tab).
Does that look good to you?
! read buffer variables
:read &EXPIRATION_DATE#,,,
:read &SERVER_NAME#,,,
! set local variables
:SET &EXP_DATE# = &EXPIRATION_DATE#
:SET &SVR_NAME# = &SERVER_NAME#
! put messages
:PUT_ATT SUBJECT = "Zertifikats-Monitoring: &$CLIENT_DESC# - &$SYSTEM# [&$CLIENT#]"
:PUT_ATT CALL_TEXT = '&EXP_DATE# / &SVR_NAME#'
------------------------------
comdirect – eine Marke der Commerzbank AG
Original Message:
Sent: Feb 11, 2025 09:52 AM
From: Peter Grundler
Subject: How to read e.g. EXPIRATION_DATE# from buffer (for EXECUTE_ON_CERTIFICATE_EXPIRING)
Hi Andre,
you have to use the exact name of the script variables in the READ command:
:read &EXPIRATION_DATE#,,,
:read &SERVER_NAME#,,,
Afterwards you can create new variables and assign the content of those.
regards,
Peter
------------------------------
Automic Certified Professional/Expert & Broadcom Knight
For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
Original Message:
Sent: Feb 11, 2025 06:41 AM
From: Andre Eymann
Subject: How to read e.g. EXPIRATION_DATE# from buffer (for EXECUTE_ON_CERTIFICATE_EXPIRING)
Dear community,
we recently came across the possibility to use the feature EXECUTE_ON_CERTIFICATE_EXPIRING in UC_SERVER_TLS_SETTINGS as described in the documentation filed under "Server Certificate Management".
It's stated:
The following script variables can be read from the read buffer:
Question
How do we have read those two variables in process tab in a CALL-object? We tried it the following way but didn't succeed:
! Read the buffer
:READ &EXP_DATE# ,,, "EXPIRATION_DATE#",
:READ &SV_NAME# ,,, "SERVER_NAME#",
! Put messages
:PUT_ATT SUBJECT = "Zertifikats-Monitoring: &$CLIENT_DESC# - &$SYSTEM# [&$CLIENT#]"
:PUT_ATT CALL_TEXT = '&EXP_DATE# / &SV_NAME#'
The objects remains generating...
Any help out there?
Kind regards
André
------------------------------
comdirect – eine Marke der Commerzbank AG
------------------------------