How to use different tag in groovy

Hello,
I have some feature with different tags. It is possible to run these tests in groovy using the tags?

no idea.
kindly read a certain pinned topic (i won’t say which one), follow the guidance there and describe better what do you want to do.
after that you may get some relevant help.

Feature: Title of your feature
I want to use this template for my feature file

@tag1
Scenario Outline: Title of your scenario outline
Given I want to write a step with
When I check for the in step
Then I verify the in step

Examples: 
  | name  | value | status  |
  | name1 |     5 | success |
  | name2 |     7 | Fail    |



groovy


is it possible to call the tag (hook) in groovy?