In Plugin, how to pass two arrays in the function?

Posted by Kanchana Gopalakrishnan on 02-Jan-2017 01:56

In document we have one array and one string to pass.... What in the syntax to pass two arrays....?

Posted by Chris S. Hogan on 03-Mar-2017 11:29

Are you referring to building an extended operator in Corticon? Generally extended operators take simple data types, and return simple data types. You can apply an operator to a collection, which means the operator processes the array of values. However, if you need to deal with multiple arrays or complex objects, then you would be better off using a service call out which has access to the complete working memory as the decision service is executing.

All Replies

Posted by Chris S. Hogan on 03-Mar-2017 11:29

Are you referring to building an extended operator in Corticon? Generally extended operators take simple data types, and return simple data types. You can apply an operator to a collection, which means the operator processes the array of values. However, if you need to deal with multiple arrays or complex objects, then you would be better off using a service call out which has access to the complete working memory as the decision service is executing.

This thread is closed