October 26, 2007 at 5:30 am
I have a File System Task within a For Loop. Upon every iteration, the Source and Destination value will change via an expression (@[User::Counter] ==0 ? @[User::SRC_01] + @[User::IIS_Mysite]: "" ). How can I compose my expression or where can I place the expression so that I have the equivalent of:
@[User::Counter] ==0 ? @[User::SRC_01] + @[User::IIS_Mysite]: ""
@[User::Counter] ==1 ? @[User::SRC_01] + @[User::IIS_Mysite]: ""
@[User::Counter] ==2 ? @[User::SRC_01] + @[User::IIS_Mysite]: ""
@[User::Counter] ==3 ? @[User::SRC_01] + @[User::IIS_Mysite]: ""
I do not see how it is possible to place all of this within one property.
Thanks In Advance
Marcus
October 26, 2007 at 6:03 am
I can't believe it!!! I've been struggling with this for days and the moment I post a question I fiqure it out 5 min later. The expression can be modified to:
@[User::Counter] ==0 ? @[User::SRC_01] + @[User::IIS_Mysite] : @[User::Counter] ==1 ? @[User::SRC_02] + @[User::IIS_Mysite] : @[User::Counter] ==2 ? @[User::SRC_07] + @[User::IIS_Mysite] : @[User::Counter] ==4 ? @[User::SRC_08] + @[User::IIS_Mysite] : ""
Thanks again
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply