Edit and Deploy a Procedure
You can view, edit, and deploy procedures using the User Defined Procedures Administration command.
-
From the PPR Navigation section of the action bar,
click User Defined Procedures Administration
.
The User Defined Administration panel opens, listing the UDO and UDE procedures already deployed. -
From the list, click a procedure, then click the arrow
icon to edit it.
Tip: Click the plus icon to add a new procedure from scratch.
The Edit Procedure panel opens. -
You can, either:
- make changes to the properties or steps and deploy the procedure as a new version of itself.
- use the procedure as a template to deploy an altogether new procedure.
Important: The procedure ID must be updated accordingly. -
Enter the required attributes as follows:
- The Procedure ID is a unique identifier for each procedure
and must comply with the following syntax:
<Name>.<major_version>.<minor_version>.<patch_number>
. For example, MyTestCompletion.1.0.0.Important: Failure to comply with this syntax may result in issues when deploying and executing the procedure. - The Procedure Name is the name displayed in the list of the
PPR User Defined Open
or PPR User Defined Explore
command to identify the procedure.
- The Procedure Visibility indicates the availability of the
procedure. It can be:
- In-work: the procedure is still in work and is only
available if the Display In-Work Procedures option is
specified in
Me
> Preferences > App Preferences > Simulation > Process Engineering > Manufacturing Context Builder > User Defined > Procedure Selection. For more information, see User Defined.
- Production: the procedure is tagged as available to all users by default.
- Obsolete: the procedure is considered as obsolete by the administrator or the leader and are no longer displayed in the list.
- In-work: the procedure is still in work and is only
available if the Display In-Work Procedures option is
specified in
Me
- The Applicability allows you to specify whether the
procedure is available in UDO
, UDE
, or both commands.
- The Input Object Type allows you to specify the object type
for which the procedure is available. For example, if you select
Item
, the procedure will only be available when selecting an object of type "Item" when launching the UDOor UDE
command. Values can be:
- EBOM
- MBOM
- System
- WorkPlan
- Resource
- AnyNote: When selected Any, the procedure is available for all input object types.
- The Open in App allows you to specify in which app the
output of the selected UDO procedure opens. From the list, select an app. Make sure
that the chosen app is compatible with the selected procedure to open the data
retrieved when running this UDO procedure.Note: If the Default (Last Used) value is selected, the UDO command opens the result in the last used app.
- The Description gives a brief explanation of the procedure
behavior. This description is displayed when selecting the procedure in the list of
the PPR User Defined Open
or PPR User Defined Explore
commands.
- The Procedure Editor allows you to define the properties
and steps of a procedure. It includes three columns:
- The Step column provides a list of the different primitives
or steps to use to define the step. You can add as many steps as required.
Important: For a UDO procedure, the last step must be an Open step. Otherwise, it may lead to an unwanted result. - The Input Navigation Set column provides a list to define the input of the step. This can be a Navigation Set or an output of the previous step. For more information, see Primitives for User-Defined Open and User-Defined Explore.
- The Additional Input column is an input field to add arguments according to the needs of the primitive or the step.
Tip: Right-click a line in the Procedure Editor to open the context menu and add or delete rows. - The Step column provides a list of the different primitives
or steps to use to define the step. You can add as many steps as required.
- The Procedure ID is a unique identifier for each procedure
and must comply with the following syntax:
-
Click Deploy.
The procedure is added to the list and immediately deployed.