We are now designing a WTX map, that takes 4 files as input and generates some output, the challenge what we face now is not all the 4 inputs would be present during the map execution, one of the input files may or may not be present, is there an option to specify within WTX to have an optional input card ? i.e.. if the input file specified is present then process it through , else use an empty file.
Thanks in Advance,
This topic has been locked.
2 replies Latest Post - 2012-11-13T17:43:55Z by FormerBuckeye
Pinned topic WTX Map with no Input
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-13T17:43:55Z at 2012-11-13T17:43:55Z by FormerBuckeye
SystemAdmin 110000D4XK6184 PostsACCEPTED ANSWER
Re: WTX Map with no Input2012-11-13T16:57:09Z in response to SystemAdminOne option is create two copies of the map, one with the 4 inputs and one with 3 inputs. Then create a map whose only map rule does nothing but check for the presence of the conditional file (probably using GET) and RUN the appropriate map of the two. If any (or more than one) input file may not be present, it gets more complicated.
FormerBuckeye 270000633125 Posts