Bitrix API

WorkflowService

FinalYes

Table of Contents

Methods

__construct()  : mixed
canUserStartWorkflow()  : bool
canUserWriteDocument()  : bool
getComplexDocumentId()  : array<string|int, mixed>|null
getComplexDocumentType()  : array<string|int, mixed>|null
getDocumentStates()  : array<string|int, mixed>
getDocumentStatesWithParameters()  : array<string|int, mixed>
getDocumentTypeStates()  : array<string|int, mixed>
getNotRunningDocumentStates()  : mixed
getNotTunedDocumentTypeStates()  : array<string|int, mixed>
getParameterValuesFromRequest()  : GetParameterValuesResponse
getSignedDocument()  : string|null
hasParameters()  : bool
hasTemplatesOnStartup()  : bool
isConstantsTuned()  : bool
setConstants()  : Response
startWorkflows()  : StartWorkflowsResponse

Methods

__construct()

public __construct(array<string|int, mixed> $iBlockInfo) : mixed
Parameters
$iBlockInfo : array<string|int, mixed>

canUserStartWorkflow()

public canUserStartWorkflow(int $currentUserId, int $elementId[, int $sectionId = 0 ]) : bool
Parameters
$currentUserId : int
$elementId : int
$sectionId : int = 0
Return values
bool

canUserWriteDocument()

public canUserWriteDocument(int $elementId, int $userId, array<string|int, mixed> $userGroups) : bool
Parameters
$elementId : int
$userId : int
$userGroups : array<string|int, mixed>
Return values
bool

getComplexDocumentId()

public getComplexDocumentId(int $elementId) : array<string|int, mixed>|null
Parameters
$elementId : int
Return values
array<string|int, mixed>|null

getComplexDocumentType()

public getComplexDocumentType() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getDocumentStates()

public getDocumentStates(array<string|int, mixed>|null $complexDocumentId) : array<string|int, mixed>
Parameters
$complexDocumentId : array<string|int, mixed>|null
Return values
array<string|int, mixed>

getDocumentStatesWithParameters()

public getDocumentStatesWithParameters(int $elementId) : array<string|int, mixed>
Parameters
$elementId : int
Return values
array<string|int, mixed>

getDocumentTypeStates()

public getDocumentTypeStates() : array<string|int, mixed>
Return values
array<string|int, mixed>

getNotRunningDocumentStates()

public getNotRunningDocumentStates(int $elementId) : mixed
Parameters
$elementId : int

getNotTunedDocumentTypeStates()

public getNotTunedDocumentTypeStates() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSignedDocument()

public getSignedDocument(int $elementId) : string|null
Parameters
$elementId : int
Return values
string|null

hasParameters()

public hasParameters(int $elementId) : bool
Parameters
$elementId : int
Return values
bool

hasTemplatesOnStartup()

public hasTemplatesOnStartup([array<string|int, mixed>|null $complexDocumentId = null ]) : bool
Parameters
$complexDocumentId : array<string|int, mixed>|null = null
Return values
bool

isConstantsTuned()

public isConstantsTuned() : bool
Return values
bool

setConstants()

public setConstants(array<string|int, mixed> $request) : Response
Parameters
$request : array<string|int, mixed>
Return values
Response

        
On this page

Search results