infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
IF statement causing testing tool to hang
Kevin Crist
i was asked to make the following change,
Find more posts tagged with
Clovertech
Comments
Brian Lubkeman
I have not personally tried using temporary variables in an IF statement, so I cannot claim that to the be issue. However, you may want to try this instead.
1(0).1(0).1(%g1).OBX(0).#1(0).[0] eq =3
jcobane1
Having you tried naming the temp variable something alpha rather than numeric (i.e.
@three
instead of
@3)
? Probably not the issue, but sometimes odd things happen.....
Jim Cobane
Henry Ford Health
Kevin Crist
I did end up changing to the
@three
and works like a charm.
thanks.
Keith McLeod
If you are using %g1 as your iteration variable for your inbound OBX repetitions by group, you may want to try something like:
IF $%g1 == =2 then
copy 1(0).1(0).1(%g1).OBX(0).#5(0).[0] --> 0(0).NTE(0).#3
You can access your iteration variable using the $%g1 notation without the need of creating a new
@variable
.