Once you have downloaded the plugin and installed in your environment, you can start using the plugin in your application. In order to use the plugin, first go to manage dependency and add the index action from RecordExtractor. For understanding purpose we will assume that we have a entity called customer and customer has name of text datatype and age of integer datatype as its attribute. The Index action has below parameters
InputRecordList: A record list variable converted to object using ToObject function. for example if you have a list of customer in variable called customers then in the expression editor you code it as ToObject(customers).
OutputRecordList: variable defined as list of particular datatype converted to object using ToObject function. for example if you want to extract name from customers record list then we will define a variable called names of list of text datatype and in the expression editor you code it as ToObject(names)
AttributeName: Attribute name as defined in the record. For example if we are planning to extract name from customer record list then I need to provide a value of "name" as value to this parameter.
Message: Output message from plugin.
Use case: We wan to extract name from customer entity.
We will expand the datatype and select List
In the "Names list element type" popup window select Text and click ok
Now that you have the names variable, we are ready to extract the names from customer record list. We will go ahead and add this logic in preparation for this demonstration.
In the preparation action.
Drag and drop customer entity after the start node.
After the Aggregate, drag and drop Assignment from toolbox and assign the customer variable with the aggregate output.
Drag and drop the Index action from logic tab found under Record Extractor module after the assignment and configure as below
InputRecordList: ToObject(GetCustomers.List.Current.Customer)
OutputRecordList: ToObject(Names)
AttributeName: "Name"
Now the plugin should extract all the names from customer record list and store in in names variable.