Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: AutoMate Task and Variable Cataloger
Topic Summary:
Created On: 05/04/2005 04:49 PM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 05/04/2005 04:49 PM
User is offline View Users Profile Print this message

Author Icon
Tony Russo
Active Member (20+)

Posts: 109
Joined: 03/30/2005

Hi Folks,



Some of my tasks have become so large that I don't know what all
the subtasks are and what variables were used. So over the course
of the last 2 days I wrote a task and named it 'AutoMate Task and
Variable Cataloger.aml' to help identify all the variables, their
parameters and the various subtasks called.



I’ve briefly tested it and it seems to work well on both AM5
and AM6. Please let me know of any bugs and I’ll try to get
them fixed.



You’re welcome to use it royalty-free for private and
commercial purposes, and make any modification you like. Please do
make changes, make it better and share your changes with the forum.
For example someone might like to update the report format,
currently in just simple text format, but it should be easy to add
a output selection to choose text, html, xml etc...



Here are some brief task details (additional details are documented
in each task, be sure to read the disclaimer):



The project consists of a 3 tasks, a Main task and 2 Subtasks;



1.) Automate Task and Variable Cataloger - Main.aml This is the
main task, used to select the source and report files, setup the
report file and initialize variables before calling the subtask
'Automate Task and Variable Cataloger.aml'



2.) Automate Task and Variable Cataloger.aml This is the work horse
of the task, it's a recursive task meaning that it calls it's self
to traverse task files looking for variable and subtasks.



3.) GetTaskInfo.aml The Start Task Action used to call subtask does
not contain windows file name, it uses a TASKID that looks like
this {695A9060-9424-4509-A39A-54701A73A33D}. The GetTaskInfo uses
the TASKID as an index to locate the task in the AMxTaskFile.atl
file (where x is the version, AM5 would be AM5TaskFile.atl) and
return the full windows path and file name for the task.



I’ve included a sample report generated on the source code of
this project.



Enjoy, and your free to use, modify but please share your changes
with the forum.



Best Regards,

Tony Russo



WinXP Pro

AM 5.5.4.0 Pro

AM 6.0.2.0 Enterprise





-------------------------
Regards,
Tony Russo

WinXp Pro
AM6 Enterprise (6.0.2.0)

Edited: 05/05/2005 at 10:30 AM by Tony Russo
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1201 guests browsing this forum, which makes a total of 1201 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog