While Do loop

Certified Senior Developer

Hello!

Does exist While...Do loop exist in Appian 16.1? If no, is something that replace that?

I am trying to do multiple save on a CDT but applyComponents seems not very practical. 

Any idea how can I improve the applyComponents function or any other idea how to save different value on the same time?

// local!newarray is an array of intinger.

        a!save(
              ri!info[1],
              rule!SIL_testExpression(1)
            ),
            a!save(
              ri!info[2],
              rule!SIL_testExpression(2)
            ),
            a!save(
              ri!info[3],
              rule!SIL_testExpression(3)
            )
            
            
            
            
             
           /*a!applyComponents(
             a!save(
              ri!info[_],
              rule!SIL_testExpression(_)
            ),
            local!newarray
           )
     */

  Discussion posts and replies are publicly visible