A technical UC4 Fan Blog
handy feature of the UC4 UserInterface is the adaptable SendTo menu.
It enables you to activate external programs and internal objects directly from the context menu of the UserInterface, and pass objects or activities as a parameter.
This means that you can extend UserInterface functionality, your custom new functions are then available with a simple mouse click.
You can find a description of the feature in the UC4 Online Help on the page "UC_SENDTO and UC_SENDTO_ACT".
As stated above, the UC4 documentation contains a detailed description.
Notifications for already active tasks
Using below objects, you can set up a Notification for on or more active Tasks directly from the context menu of the Activity Window. If a task ends successfully, you'll get a Notification of type "Message" within half a minute, if the task fails, you'll get an alert.
The SCRI is waiting for the end of the selected tasks and activates the Notification.
This entry in the variable UC_SENDTO_ACT sets up the entry in the context menu of the Activity Window:
can download the two objects (v6.00 XML):
Do not forget to enter a recipient in the Notification!
Generate individual XML export files
Since the SendTo action is performed separately for each selected item, the following simple script is all you need to export multiple objects with one click into individual XML files:
This is the corresponding entry in UC_SENDTO:
can download the script (v6.00 XML):
Do not forget to adapt the export-path &DESTDIR# in the script!
SendTo with external program
You can also invoke external programs with the SendTo functionality. In this case, UC4 generates a file with the name SEND_TO_n.txt in the bin directory of the UserInterface , the file contains either a list of OH_IDNRs or AH_IDNRs.
At first glance, there is no benefit in this, because in the internal call of an object you get more information than just the ID, and you can then start a job on any agent from there anyway.
As mentioned above, the internal call is executed individually for each object. For external programs, however, there's only one execution, and the file SEND_TO_n.txt contains all OH_IDNRs / AH_IDNRs of all selected objects. This method is therefore particularly useful for mass processing from the Activity Window, the UC4 Explorer or a search window.
Welcome to my UC4-Tech-Blog
Here you can find technical articles on UC4 Operations Manager
(versions 6.00 and 8.00) and the UC4 Auomation Engine (version 9.00). I describe automation approaches, helpful SQL queries, and experiences with administration of a UC4 OM system and its components.
I hope you find interesting articles, and I'm looking forward to your comments.
One last small note:
I have no direct connection to UC4 or the UC4 Software GmbH other than being a User of their software. The official, non-technical UC4-Blog can be found at http://www.uc4.com/blog
Name: Philipp Elmer
UC4-User since: Summer 2006
I'm a freelancer and started in December 2000 as a Unix operator. My job always included some form of batch-processing, process-automation and scheduling.
Before working with UC4, I already scheduled with cron ;-) , Maestro and Control-M.