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: Scheduled Tasks with IDs
Topic Summary:
Created On: 05/06/2013 08:03 AM
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/06/2013 08:03 AM
User is offline View Users Profile Print this message

Author Icon
DanielSidler
Student (5-19 posts)

Posts: 10
Joined: 11/24/2006

Hi

This is a suggestion for AM9 that came out of a discussion on the support forum the other day.

It would be useful for a task with multiple scheduled triggers to be able to identify WHICH of the schedules was used to trigger the task. This would be useful for tasks that have to be executed a various times and that need to execute slightly different, depending on the schedule that is active.

With AM9 today, I have to create multiple copies of the same task, each with their own schedule(s), and then adapt one or two variables in each task.

Ideally, each trigger would have an ID that I can examine within the task, or the trigger would set a variable that I can read.

Thanks,
Dan
 05/06/2013 08:54 AM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

Daniel,
I fully support this suggestion. For tracking purposes, it is indeed necessary that the AMTrigger dataset contains both a TriggerName and a TriggerID data element.
Same thing applies to Conditions as well as to Triggers.
Currently there is no practical workaround to this problem.
I wish N/A can consider this request.

-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
 05/06/2013 11:27 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

%AMTrigger.AML% will provide the trigger AML code for the specific trigger that fires the task. You can then use the trigger ID to differentiate how the task should proceed.


Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
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 1801 guests browsing this forum, which makes a total of 1801 users using this forum.

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

Sitemap Network Automation Software Blog