"Continue" activity

Created by akaBot Support, Modified on Fri, 1 Nov, 2024 at 4:14 PM by akaBot Support

1. Activity Program Name

RCA.Activities.Core.Continue


2. Description

For Studio version 2.0.2.0 and below:

  • Quick Access: "Toolbox" > "Core" > "Continue"

For Studio version 2.0.3.0 and above:

  • Quick Access: "Toolbox" > "System" > "Control Flow" > "Continue"

This activity continues execution. It can only be used within "For Each (Each Element of Collection)" and "For Each Row".

Note: The operation was confirmed with  Studio version: 2.1.1.2. Some wording may differ depending on the version.


3. Properties

Property Item

Property Name

Input Field

Description

Other

Public

Checkbox

Logs the variables and arguments within the activity to a log file, which is then pushed to the Center. (Refer to "About the Property Item 'Public'" for details.)

Other

Display Name

Any String

Reflects the activity name in the designer panel.



4. How to use

Let’s create a workflow that extracts elements from an array one by one and moves to the next iteration if the result is "Da Nang". The array used here is {"Ha Noi", "Sai Gon", "Da Nang", "Da Lat"}.

First, drag and drop "System" > "Original" > "Assign" and place it.

In the properties, input an Array of String type variable (in this example, "result") into "Other" > "To". Then input the value {"Ha Noi", "Sai Gon", "Da Nang", "Da Lat"} into "Value". 

For more on creating variables, please refer to "Creating Variables".

Next, drag and drop "System" > "Control Flow" > "For Each" and place it.

From the dropdown in the "Other" > "TypeArgument" property, select "String". Then, input the Array of String variable (in this example, "result") into "Input" > "Values".

Drag and drop "System" > "Control Flow" > "If" and place it.

In the "Other" > "Condition" property, input a Boolean type variable or a VB expression (in this case, the VB expression "item = 'Da Nang'").

Then, drag and drop "System" > "Control Flow" > "Continue" into the Then section of the If condition.

To check the results, add "Write Line" and input a value (in this case, "item + “: Not applicable'") into the "Text" property.

Click "Home > Start" or press "F5" to run the workflow, then open the "Output Panel".

If an element is "Da Nang", the next iteration is executed, so "Da Nang: Not applicable" will not be displayed. 

Verify that items other than Da Nang are displayed.

Reference: Execution Results if "Continue" is Placed in the Else Section of the Condition

When elements are "Ha Noi", "Sai Gon", or "Da Lat", they proceed to the next iteration, so only "Da Nang: Not applicable" will be displayed.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article