Convert colection number a number

Hello,

I have made a data action from the aggreates/query api and when returning the nOffered field which is an array, I need in architect to transform that collection from number to number, is this possible?

Hello,

You can use the Sum function (in an Expression) -> Sum(Flow.MyIntegerCollection) where Flow.MyIntegerCollection is the variable (Collection of Integers) that you use as the output of your data action.

I would recommend to raise such questions on the Genesys Cloud CX Community forum.
The Developer Forum is meant for questions on API & SDK.

Regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.