Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Script target - continuous delivery

nolanChabert-Od
Level 2
Level 2

What is the correct format to add a recipient (or operator) by script in the continuous delivery?

is it possible by instance variable? or vars ?

thanks in advance.

Nolan Chabert

1 Accepted Solution
nolanChabert-Od
Correct answer by
Level 2
Level 2

<delivery>

  <targets>

    <deliveryTarget>

      <targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>

        <where>

          <condition expr='[@id] = <%= vars.operatorId %>'/>

        </where>

      </targetPart>

    </deliveryTarget>

  </targets>

</delivery>

View solution in original post

1 Reply
nolanChabert-Od
Correct answer by
Level 2
Level 2

<delivery>

  <targets>

    <deliveryTarget>

      <targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>

        <where>

          <condition expr='[@id] = <%= vars.operatorId %>'/>

        </where>

      </targetPart>

    </deliveryTarget>

  </targets>

</delivery>

View solution in original post