Symbiote\AdvancedWorkflow\Templates\WorkflowTemplate::createUsers
Create a WorkflowDefinition->Users relation based on template data. But only if the related groups from the export, can be foud in the target environment's DB.
Note: The template gives us a Member Email to work with rather than an ID as it's arguably more likely that Member Emails will be the same between environments than their IDs.
Signature
protected function createUsers(array
$users,
WorkflowDefinition
$definition,
[boolean
$clear = false] )
Parameters
$users
— array$definition
— Symbiote\AdvancedWorkflow\DataObjects\WorkflowDefinition
$clear
— boolean
Returns
- void