padv.Process Class
Namespace: padv
Group tasks and subprocesses in process model
Description
This class requires CI/CD Automation for Simulink Check.
A padv.Process
object represents a group of tasks and subprocesses in
your process model. By default, your process model has a default process
"CIPipeline"
. To create other processes in your process model, create a
new process object by using the method addProcess
. You can group tasks and
other subprocesses inside a specified process by using addTask
and
addSubprocess
. You can specify a dependency or desired execution order
between tasks and subprocesses inside your process by using either
addDependsOnRelationship
or
addRunsAfterRelationship
. For more information, see Manage Multiple Build and Verification Workflows Using Processes.
The padv.Process
class is a handle
class.
Creation
Description
represents a process, named process
= padv.Process(Name
)Name
, inside a process model. Each
process in the process model must have a unique Name
.
sets properties using one or more name-value arguments. For example,
process
= padv.Process(___,Name=Value
)padv.Process("myProcess",Title="My Process")
creates a process with
the title My Process
in Process Advisor.
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.