Skip to main content

BusinessProcessObject._Business process name_.ActivateInteractively

ActivateInteractively

Syntax

ActivateInteractively()

Description

Performs interactive activation of the business process. This triggers a(n) InteractiveActivationProcessing event. If the handler of this event does not change the standard processing, the business process automatically filters all uncompleted tasks for the current user and calls ActivateInteractively method for each of them. The current user is selected from the session parameter assigned to Performer property of the task linked to this business process. This method allows you, for example, to start accomplishing any tasks assigned to the current performer once a business process is created.

Availability

Server, thick client, external connection.

Example

// Create, start and and activate a business-process

BusinessProcess = BusinessProcesses.PressReleasePreparation.CreateBusinessProcess();
BusinessProcess.Date = CurrentDate();
BusinessProcess.Write();
BusinessProcess.Start();
BusinessProcess.ActivateInteractively();

Translation

Русская версия: БизнесПроцессОбъект._Имя бизнес-процесса_.АктивироватьИнтерактивно (BusinessProcessObject._Business process name_.ActivateInteractively)