nerdexam
Palo_Alto_Networks

XSOAR-ENGINEER · Question #33

Previous playbook tasks have built out the context in the image below. When specifying ${User.Name} as an input for a sub playbook task which has the default loop configuration, how many times will th

The correct answer is D. 3. The context shows 4 objects in the User array, each with a Name field (Elvis Presley, Johnny Cash, Sales entry without a name, and Little Richard). When ${User.Name} is passed to a sub- playbook task with the default loop configuration, XSOAR executes the sub-playbook once for ea

Automation and Playbook Development

Question

Previous playbook tasks have built out the context in the image below. When specifying ${User.Name} as an input for a sub playbook task which has the default loop configuration, how many times will the sub-playbook be executed?

Options

  • A0
  • B1
  • C2
  • D3

How the community answered

(46 responses)
  • A
    7% (3)
  • B
    4% (2)
  • C
    11% (5)
  • D
    78% (36)

Explanation

The context shows 4 objects in the User array, each with a Name field (Elvis Presley, Johnny Cash, Sales entry without a name, and Little Richard). When ${User.Name} is passed to a sub- playbook task with the default loop configuration, XSOAR executes the sub-playbook once for each value in the array. Since there are 4 User entries, the sub-playbook runs 4 times.

Topics

#sub-playbook loop#context array#loop execution count#User.Name context

Community Discussion

No community discussion yet for this question.

Full XSOAR-ENGINEER Practice