Have a script task that takes a variable and stores it at a particular index in

Have a script task that takes a variable and stores it at a particular index in a array. I need to add the variable to the array only if it is not null. How do we do it in Appian - Can this be done only with a gateway? I have a list that I need to process like this, so dont want to write a lot od conditional checks. if(isnull) is not workig for me...

OriginalPostID-94668

OriginalPostID-94668

  Discussion posts and replies are publicly visible