06b. Invoke Method and Invoke Code in Studio - Invoke Instance Method

Опубликовано: 13 Июль 2026
на канале: Training Accelerators
11
0

Hello and welcome to our second demo on using the Invoke Method activity in Studio.

This time we will learn how to use on an instance method.

The example here is very simple. We have a list of products and we want to display the elements in reversed order from the one at the beginning. We’ll use the reverse method for this.

Let’s start by adding a sequence, and give it a descriptive name.

Next, we will create our list of products variable. So, let’s open the variables panel, create a variable called Products and set the variable type to list of strings.

What we need to do now is to instantiate our list.

Let’s add an assign activity and give it a descriptive name.

Invoke Method - Workflow (Static and Instance).zip file:
https://html.cdn.contentraven.com/crc...

InvokeMethod Example1.zip file:
https://html.cdn.contentraven.com/crc...

InvokeMethod Example2.zip file:
https://html.cdn.contentraven.com/crc...