Create a playbook for the Design and Assign function
Create a playbook for the Design and Assign function in the Workflow Studio. You can use the playbook to design and assign a network service in the Telecommunications Network Inventory application.
始める前に
- Create a playbook.
- Add a stage.
- Set up the trigger.
- Add and configure activities.
- Activate the playbook.
Role required: admin, playbook.admin
手順
- Navigate to All > Workflow Studio > Playbooks.
- Select New and then select Playbook from the option list.
-
Fill in the following fields.
表 : 1. Playbook Field Description Playbook name Enter a unique, user-facing name for your playbook. This name appears to agents and fulfillers during runtime of your playbook. Description Optionally, enter some descriptive details about your playbook. Application Choose an application scope that you want your playbook to run in. You can select Network Inventory Advanced. The builder displays in Diagram view by default, but you can select Board view to switch views.
-
Add and configure your trigger.
To learn more, see Add and configure a trigger in a playbook.
-
Select the more options icon (
and select Properties.
-
On the Schedule tab, fill in the fields.
表 : 2. Schedule tab Field Description Define your own conditions for when your process runs Select the trigger type from the list. You can select Record Create. Table Select a table to trigger your playbook to run. For Design and Assign function, select Change Request. When you create a change request, the playbook gets triggered. Trigger condition The conditions that cause your playbook to run. Select your Change model as Trigger condition. Run my trigger Select an option to run your trigger. You can select Once so that only one playbook process instance is created for design and assign. - Select Done.
-
Select the more options icon (
-
Select Add Stage to add a stage.
You must add only one stage for the Design and Assign function. To learn more about the playbook stage, see Add and configure a stage in a playbook.
-
Add and configure the activity.
- Select Add activity.
-
Select the activity that you want to add in the playbook.
You can select an existing activity that is associated with the Network Inventory Advanced application and update them according to your requirement. You can also create and add new activity. To learn more about creating an activity, see Add and configure an activity in a playbook.
表 : 3. Default Activities for Design and Assign playbook Activity Description Auto Create Change Task This activity is used to invoke a record producer to create change task record and then display the change task form view. This activity does the following. -
Automatically creates change task.
-
Invokes the associated record producer.
-
Creates change task record with record producer variables.
-
Displays change task form view in the activity card.
Display Form This activity displays the form view according to the selected table and view. Review and submit design assign This activity is used to review and submit a design and assign request. It automatically creates a change task. You can also create an activity. To learn more, see Add and configure an activity in a playbook.
Your new activity appears in the stage, and the Activity properties panel appears. -
-
On the Details tab, fill in the fields.
表 : 4. Details tab Field Description Label Enter a unique, user-facing name for your activity. This name appears to agents and fulfillers during runtime of your playbook. Description Optionally, enter some descriptive details about your activity. -
Open the Automation tab.
Automation, Inputs, and Outputs sections appear.
- Select Show additional options to view all fields.
-
Under the Inputs section, define the values of the activity's inputs.
Configure inputs with a hard-coded value, or by selecting the data pill picker icon (
) to use data from previous activities or the playbook trigger.
-
Open the UI Layout tab and fill in the fields.
Depending on the UI Layout associated with the activity, different sections and fields appear on this tab. These sections and fields let you set up the activity data that renders during the runtime Playbook Experience.
- Select Save and close.
- Keep adding activities according to your design requirement.
-
After you have added all appropriate activities to your playbook, select Activate in the header.
Activating your playbook publishes it so that it runs when triggered.
タスクの結果
When your playbook's trigger conditions are met, your playbook runs.
次のタスク
Update the system property to add the playbook in the Design and Assign home page. To learn more, see Update system property to configure the Design and Assign home page.