Network Automation Software
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: Select case range
Topic Summary: need to address a range in select case
Created On: 06/26/2015 05:12 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.
 06/26/2015 05:12 AM
User is offline View Users Profile Print this message

Author Icon
TomHeitbrink
Student (5-19 posts)

Posts: 8
Joined: 02/10/2014

In our processing we need to set a specific action for a nyumber of messages.

This is for files that start with MT190 until MT199 and MT990 to MT999.\

On the page:

http://www.networkautomation.com/automate/urc/resources/livedocs/bpa/9/Technical_Reference/Basic_Scripting/Statements/Sbe6_000Select_Case_Statement.htm

it states that it's possible to select a range, but this is not recognized.

expr1 To expr2 Execute if greater than or equal to expr1 and less than or equal to expr2.

               <AMCASE CONSTANT="MT190 To MT199">
                    <AMSET VARIABLENAME="mail_file">Y</AMSET>
               </AMCASE>

If I change the Case to MT199, then the file gets processed correctly.

How can I use this statement ?

And can I use an OR in the case , or use CASE MT103, MT202 ? 

 



 Category Survey
AutoMate BPA Server 9 version: 9.0.5
Windows version: Windows Server 2008 R2
 06/30/2015 12:22 PM
User is offline View Users Profile Print this message

Author Icon
Valentineo McGowan
HelpSystems

Posts: 766
Joined: 09/03/2013

Hello Tom,

Is it possible to view your entire task? Would you be so kind as to export the Workflow in question from the SMC, *.zip it up and attach it to the ticket so we may review?

Lastly, you may be missing the Select case and End case activities.

Select / Case
http://www.networkautomation.c...ction_select_case.htm

End Select / End Case
http://www.networkautomation.c...Select_Case_Action.htm

 Category Survey


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

Valentineo McGowan | Technical Consultant
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665
Statistics
18257 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 375 guests browsing this forum, which makes a total of 375 users using this forum.

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

Sitemap Network Automation Software Blog