Collection
Class that realizes collection of scenarios.
Bitrix\Rpa\Scenario\Collection implements \Iterator, \Countable
Methods
Method | Description | Available from version |
---|---|---|
public function __construct(array $scenarios) |
Constructor. Receives on input the array of scenarios. | |
public function playAll(): Result |
Sequentially launches all collection scenarios.
When an error occurs during execution of a scenario, execution is terminated. Returns object Bitrix\Main\Result containing data from all scenarios |
© «Bitrix24», 2001-2024