create table from script

Hello,

Would it be possible to create a data table in the script? The data would come through api from a CRM, the purecloud script could manage that data? modify it?

Thank you

Thanks tim, another question, from a data action we can call a substring? or is it only possible, string, numerical, boleano etc

Is it possible to operate the script without being called?

You can get a substring in a data action. Data actions support velocity macros, specifically you have access to the java string methods

including the java substring methods:

substring(int beginIndex)
Returns a new string that is a substring of this string.

substring(int beginIndex, int endIndex)
Returns a new string that is a substring of this string.

--Jason

Thank you very much, if I want to validate by length it would be then, substring(int length = 9)?

Thnx

I am not sure by looking at your question, I would suggest experimenting with it. If you get to the point you have a data action that isn't working the way you want it to, create a new thread in the data actions room including an export of your data action, and the input or response that it is trying to process.

--Jason

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