1. Dynamically Populate Reviewers in Review Activity
Title DynamicallyPopulate ReviewersinReview
Activity
Description Groups have beenmade inAD,correspondingto
the type of activitybeingreviewedand
accordinglythe reviewersare placedinsuch
groups.These groupsare identifiedbycertain
fieldsinservice requestform example:IT
Department,new userrequest Thiswill point
to/mapto the ITApproversgroupforapproving
or rejectingthisnew userrequest.
Status Runbookworkssuccessfully,successfullymapsIT
approverto the groupin AD.And successfully
populatesreview activitywithapproversfrom
that group.
Other One potential issue thatcanarise isthat, the
dynamicallypopulateduserscannotbe given
“has-veto”and“mustvote”rightsindividually.
Have to use some variationof votingcriteriasuch
as “percentage”,”unanimous”tocontrol the
flow.
Workflow
1. Initialize Data
Part of the runbook control category, this activity collects data and passes it to the runbook from the
portal.
2. We use the Add button to add fields according to our needs, in this case we needed 2 pieces of
information and 2 string fields were selected.
2. Get Object (Get Runbook Automation Object)
This activity is part of the Service Manager IP. This activity is basically used to get the GUID, a unique
identifier of some object in this case our Runbook automation activity.
For Class press Ellipse (…) select Runbook Automation Activity
3. Then Filters press “ADD” then select as shown below:
Valye field populated via Published Data left click select published data select activity initialize
data select field ActivityID
4. 3. Get Relationship (Get Relation between RBA and SR)
This is also part of Service Request IP. This is used to getting a child or connected GUID of a activity
such as Service request or review activity given its parent or sibling. In this activity we know the
parent’s GUID from previous activity and now we are attempting to find GUID of its child Service
Request.
For Object Class press Ellipse (..) and select the following option as shown:
5. For Object Guid left-click published data activity select as Get Runbook automation object
select property SC Object Guid.
For Related press Ellipse (…) then select option as shown:
4. Get Object (Get SR Object)
Part of Service Manager IP. Gets GUID of service request.
6. For Class press Ellipse (…) then select the following
Then for Filters press “ADD” Button and do following steps:
7. For Value
5. Get Relationship (Get Relationship between SR and Review Activity)
Part of service manager IP.
8. For Object Class press Ellipse (..) and select following:
For Object Guid right-click published data activity Get SR object SC object Guid
For Related Class press (…) Ellipse the select as shown:
9. 6. Get Object (Get RA Object)
For Class press Ellipse (…) and then select the following:
Then For Filters Press “ADD” then do the following:
10. For Value Right click published data then do following:
7. Get Group
Part of Active Directory IP. Gets the group from AD in which the approvers reside.
11. For Name press (…) select active directory.
Then press Optional Properties Button:
Select SearchRoot and move it to Selected section..
12.
13. Press “ADD” button and do following…:
From published data select initialize data as activity and select AD Group Name
14. 8. Get User
Part of Active Directory IP.
Select name as Active directory from ellipse button option:
The select filters from left tab:
Press “ADD” button and do following:
16. 9. Get Object (Get Users From CMDB)
Part of service manager IP
For Class press Ellipse (…) and select the following:
Then for filters press “ADD” button and do following:
17. For Value do published data the activity get user the select following:
18. 10. Create Related Object
Part of service manager IP. Used for creating objects of reviewers to add to review activity.
In Connection select SCSM.
In Source Class press Ellipse (…). The select the following:
19. In Target Class press Ellipse (…) the select following:
In Relationship Type press Ellipse (…) select following.
20. In Source Object Guid goto Published data and do following:
Select activity as Get RA activity..
11. Create Relationship
Part of service manager IP.
21. In Source Class press Ellipse (…). Then select the following:
In Target Class press Ellipse (…). Then select the :
In Relationship Type press Ellipse (…). Select:
22. For Source Object Guid goto Published data:
For Target Object Guid goto published data:
Select Get users From CMDB as the activity: