Automate a manual task with Decision Builder
Decouple business decisions from application logic by adding a decision table to your application in ServiceNow Studio.
시작하기 전에
Role required: admin or delegated_developer
프로시저
- Navigate to All > App Engine > ServiceNow Studio.
- Select Create > File.
- Select Automation > Decision table.
- Select Continue.
- In the Name field, enter Choose graphic designer.
- Select Build decision table.
- Next to Inputs, select (+) Add.
-
On the form, fill in the fields.
Field Entry Label Request Type Reference Table Marketing Design Request Mandatory Toggle off - Select Add condition column.
- Select (+) Add condition column.
- Enter Is external for the Condition column label.
-
On the form, fill in the fields.
Field Entry Data to evaluate Field Field External field on the Marketing Design Request table - Select Done.
- Select (+) Add result column.
-
On the form, fill in the fields.
Field Entry Result column label Graphic designer Result type Reference Result table User [sys_user] - Select Done.
-
Select in the line of the empty Is external condition.
- Select true.
- Select OK.
- Set the true result to Bud Richman.
-
Set the Default result to Howard Johnson.
- Select Save.
- Select Publish.
- Confirm and select Publish.
- In the Navigator panel, return to the Marketing Design Request table.
- Select Flows.
-
Select the Marketing design request created flow.
- Select the (+) directly below the Trigger.
- Select Flow Logic.
-
Select Make a decision.
- Set Decision Table to Choose graphic designer.
- Toggle Use Branches off.
-
Select the Request data pill picker icon
.
- Select Trigger – Record Created.
-
Select Record.
- Select Done.
- Select the ellipsis on the Update action immediately following the Make a decision action.
-
Select View.
-
Select the Fields data pill picker.
-
Select 1 – Make a Decision > Decision Table Multiple Result Record > Result elements > Graphic designer.
- Select Done.
- Select Save.
- Select Activate.
- Confirm your selection by selecting Activate again.