I have a workflow which takes two Array[File] inputs and one Array[String] input, each with only one item. As recently as yesterday at 10:30 AM, it worked to use a File/String as an input to a variable of type Array[File]/Array[String] and it would be interpreted as an array of length 1. However, since I tried launching the workflow yesterday afternoon going forward, this no longer works.
A possible solution to this could be editing the sample metadata table to change the File to a file array and the method input string to be a string array, but there seems to be an issue interpreting arrays of length 1. This includes when I created a workflow which takes a file/string as input and outputs an array of just that input to the metadata table. Even using that output as the input to the workflow mentioned at the top results in the workflow interpreting the array as just a file/string.
Also, just to clarify why I need the input to stay as an array rather than be a single file/string, the inputs to the task will either be directly from the user (where there could be arrays of length one or more), or the outputs of a prior task (which will generally be arrays of length >1). I wanted to avoid being too specific to my workflow in this post, but feel free to ask more specifics if it would be helpful.
Please sign in to leave a comment.