1. Make a new script element in WD named "Get half of sequence" with input and output sequence slots and without attributes.
2. Set the following script to element: "out_sequence = subsequence(in_sequence, 0, size(in_sequence) / 2 - 1);" I.e. the element is to cut off the last half of incoming sequence and pass the left one.
3. Make the workflow: "Read Sequence" -> "Get half of sequence" -> "Write Sequence"
4. Make a random sequence with length of 10.
5. Run the workflow on the sequence.
Expected state: result sequence has length of 5.
Current state: result sequence has length of 4.