1C-Bitrix 25.700.0
|
Открытые члены | |
__clone () | |
__call ($name, $arguments) | |
startRuntime () | |
stopRuntime () | |
createDebugWorkflow (int $templateId, array $documentId, $workflowParameters=[]) | |
getWorkflow ($workflowId, $silent=false) | |
hasWorkflow (string $workflowId) | |
getWorkflows () | |
onWorkflowStatusChanged ($workflowId, $status) | |
getService ($name) | |
getDebugService ($name) | |
addService ($name, CBPRuntimeService $service) | |
includeActivityFile ($code) | |
getActivityDescription ($code, $lang=false) | |
getActivityReturnProperties ($code, $lang=false) | |
getResourceFilePath ($activityPath, $filePath) | |
executeResourceFile ($activityPath, $filePath, $arParameters=array()) | |
searchActivitiesByType ($type, array $documentType=null) | |
getRestActivities ($lang=false, $documentType=null) | |
getRestRobots ($lang=false, $documentType=null) | |
unserializeWorkflowStream (string $stream) | |
checkActivityFilter ($filter, $documentType) |
Открытые статические члены | |
static | getRuntime () |
static | isFeatureEnabled ($featureName='') |
static | generateWorkflowId () |
static | sendExternalEvent ($workflowId, $eventName, $arEventParameters=[]) |
Поля данных | |
const | EXCEPTION_CODE_INSTANCE_TARIFF_LIMIT_EXCEED = 402 |
const | EXCEPTION_CODE_INSTANCE_NOT_FOUND = 404 |
const | EXCEPTION_CODE_INSTANCE_LOCKED = 423 |
const | EXCEPTION_CODE_INSTANCE_TERMINATED = 499 |
const | REST_ACTIVITY_PREFIX = 'rest_' |
const | ACTIVITY_API_VERSION = 1 |
Защищенные члены | |
getWorkflowInstance (string $workflowId) |
Workflow runtime.
@method \CBPSchedulerService getSchedulerService() @method \CBPStateService getStateService() @method \CBPTrackingService getTrackingService() @method \CBPTaskService getTaskService() @method \CBPHistoryService getHistoryService() @method \CBPDocumentService getDocumentService() @method Bizproc\Service\Analytics getAnalyticsService() @method Bizproc\Service\User getUserService()
См. определение в файле runtime.php строка 21
__call | ( | $name, | |
$arguments ) |
См. определение в файле runtime.php строка 97
__clone | ( | ) |
См. определение в файле runtime.php строка 92
addService | ( | $name, | |
CBPRuntimeService | $service ) |
Adds new service to runtime. Runtime should be stopped.
string | $name | - Service code. |
CBPRuntimeService | $service | - Service object. |
См. определение в файле runtime.php строка 440
checkActivityFilter | ( | $filter, | |
$documentType ) |
См. определение в файле runtime.php строка 944
createDebugWorkflow | ( | int | $templateId, |
array | $documentId, | ||
$workflowParameters = [] ) |
См. определение в файле runtime.php строка 273
executeResourceFile | ( | $activityPath, | |
$filePath, | |||
$arParameters = array() ) |
См. определение в файле runtime.php строка 661
|
static |
См. определение в файле runtime.php строка 401
getActivityDescription | ( | $code, | |
$lang = false ) |
См. определение в файле runtime.php строка 554
getActivityReturnProperties | ( | $code, | |
$lang = false ) |
См. определение в файле runtime.php строка 608
getDebugService | ( | $name | ) |
См. определение в файле runtime.php строка 424
getResourceFilePath | ( | $activityPath, | |
$filePath ) |
См. определение в файле runtime.php строка 647
getRestActivities | ( | $lang = false, | |
$documentType = null ) |
bool | $lang | Language ID. |
null | array | $documentType | Document type. |
Bitrix\Main\ArgumentException
См. определение в файле runtime.php строка 766
getRestRobots | ( | $lang = false, | |
$documentType = null ) |
bool | $lang | Language ID. |
null | array | $documentType | Document type. |
Bitrix\Main\ArgumentException
См. определение в файле runtime.php строка 787
|
static |
Static method returns runtime object. Singleton pattern.
См. определение в файле runtime.php строка 80
getService | ( | $name | ) |
Returns service instance by its code.
mixed | $name | - Service code. |
См. определение в файле runtime.php строка 414
getWorkflow | ( | $workflowId, | |
$silent = false ) |
Returns existing workflow instance by its ID
string | $workflowId | ID of the workflow instance. |
bool | $silent |
Exception |
См. определение в файле runtime.php строка 327
|
protected |
См. определение в файле runtime.php строка 367
getWorkflows | ( | ) |
См. определение в файле runtime.php строка 362
hasWorkflow | ( | string | $workflowId | ) |
См. определение в файле runtime.php строка 352
includeActivityFile | ( | $code | ) |
Includes activity file by activity code.
string | $code | - Activity code. |
См. определение в файле runtime.php строка 500
|
static |
Method checks if feature is enabled.
string | $featureName | Feature name. Checks default if empty. |
См. определение в файле runtime.php строка 112
onWorkflowStatusChanged | ( | $workflowId, | |
$status ) |
См. определение в файле runtime.php строка 377
searchActivitiesByType | ( | $type, | |
array | $documentType = null ) |
См. определение в файле runtime.php строка 680
|
static |
Static method transfer event to the specified workflow instance.
mixed | $workflowId | - ID of the workflow instance. |
mixed | $eventName | - Event name. |
mixed | $arEventParameters | - Event parameters. |
См. определение в файле runtime.php строка 466
startRuntime | ( | ) |
Public method starts runtime
См. определение в файле runtime.php строка 137
stopRuntime | ( | ) |
Public method stops runtime
См. определение в файле runtime.php строка 167
unserializeWorkflowStream | ( | string | $stream | ) |
См. определение в файле runtime.php строка 803
const ACTIVITY_API_VERSION = 1 |
См. определение в файле runtime.php строка 30
const EXCEPTION_CODE_INSTANCE_LOCKED = 423 |
См. определение в файле runtime.php строка 25
const EXCEPTION_CODE_INSTANCE_NOT_FOUND = 404 |
См. определение в файле runtime.php строка 24
const EXCEPTION_CODE_INSTANCE_TARIFF_LIMIT_EXCEED = 402 |
См. определение в файле runtime.php строка 23
const EXCEPTION_CODE_INSTANCE_TERMINATED = 499 |
См. определение в файле runtime.php строка 26
const REST_ACTIVITY_PREFIX = 'rest_' |
См. определение в файле runtime.php строка 28