BusinessProcessObject.<Name of business process>.ActivateInteractively
ActivateInteractively()
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.
Server, thick client, external connection.
// Create, start and and activate a business-process BusinessProcess = BusinessProcesses.PressReleasePreparation.CreateBusinessProcess(); BusinessProcess.Date = CurrentDate(); BusinessProcess.Write(); BusinessProcess.Start(); BusinessProcess.ActivateInteractively();
|