assignWorkflow Function
Assigns a worker to a specified Service Desk workflow.
PHP
bool $this->assignWorkflow(int $workflow, int $worker);
Parameters
$workflow (int): The workflow RECID to assign the worker to
$worker (int): The worker contact RECID to assign
Returns
bool - True on success, false on failure
Example
// Assign worker 123 to workflow
$result = $this->assignWorkflow(456, 123);