Comment Out

Created by akaBot Support, Modified on Wed, 19 Feb at 2:53 PM by akaBot Support

This is about the "Comment Out" activity, which specifies activities to be ignored at runtime.


TABLE OF CONTENTS

  1. Activity program name
  2. Description
  3. Properties
  4. How to use


1. Activity program name

RCA.Activities.Core.CommentOut

2. Description


Studio Version ~2.0.2.0  

Quick Access: "Toolbox" > "Core" > "Comment Out"  


Studio Version 2.0.3.0~

Quick Access: "Toolbox" > "Core" > "Debug" > "Comment Out"


If there are activities that you want to ignore at runtime, place them inside the "Comment Out" activity. When you add the "Comment Out" activity, a "Ignored Activities" sequence will automatically appear. Place the activities you want to ignore within this sequence.  


Tested on akaBot Studio version: 2.2.0.5

The wording and some elements may vary depending on the version.


3. Properties


Property itemProperty nameInput fieldDescription
MiscPublicCheck item

The variables and arguments within the activity are written to the log file and pushed to Center. (For details, see "About the 'Public' Property Item".)

Display nameEnter value (String Type)

It is reflected in the activity name in the designer panel.


4. How to use

We will confirm that an activity that was executed successfully will not run when moved into the sequence inside the "Comment Out" activity.  


First, drag and drop the "Message Box" activity onto the designer panel.



Enter the "This activity will be ignored" in the Text propery.


For now, click Home > Start or press the F5 key to run the process and confirm that the message box is displayed without any issues.



Next, drag and drop the Core > Comment Out activity onto the designer panel.


Drag the previously added Message Box activity into the Ignored Activities sequence inside the "Comment Out" activity.



In this state, click Home > Start or press the F5 key to run the process. You will notice that the message box no longer appears, but the Output panel will show that the execution completed without any errors.


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