Description

    Ignores the activity placed within the Ignored Activities sequence.



Attributes

    Common

  • Continue on Error - True or False values to specify whether to continue executing the next activity even if an error is thrown on the current activity.

    Misc

  • Display Name - Renames the activity.


Example

  1. Create a new workflow and save it as NewCommentOutWorkflow.xml.
  2. Add a Write Line activity inside the Sequence.
  3. In the Text field, enter "Hello!". This writes the word "Hello!" in the Output panel when executed.
  4. Add a Comment Out activity after the Write Line activity.
  5. Add another Write Line activity inside the Ignored Activities Sequence in the Comment Out Activity.
  6. In the Text field of the new Write Line activity, enter "This is a comment". The Write Line activity was supposed to write out the phrase "This is a comment" but because it is inside a Comment Out activity, it will be ignored and will not be written in the Output panel.
  7. When executed, the Sequence activity executes all the activities inside it except for the ones inside the Comment Out activity. 

    The use case should look like the following screenshot:


The output should look like this in the Output panel: