BusinessProcessRoutePointRef.OnCreateSubBusinessProcesses
Syntax:
Parameters:
<RoutePoint>
Business process point, where nested business processes are created.
<BusinessProcessesBeingFormed>
An array of formed process.
<Cancel>
Indicates, that the writing and starting nested business processes are cancelled. If you set True value for this parameter in the body of the procedure-handler, nested business processes will not be written and started.
Default value: False.
Description:
The same handler is intended for modifying lists of head tasks and nested business processes generated by platform. For example, you can add new business processes and head tasks or delete unnecessary ones.
If nested business process has several start points, than you can write and started a nested business process with required start point in this handler.
Subprocess record and start will be executed after handler completion.
Note:
Interactive calls (opening forms, warnings) are not permitted. Using Message method is allowed.