Published on: Mar 4, 2016
Transcripts - Populate Reviewers
Dynamically Populate Reviewers in Review Activity
Title DynamicallyPopulate ReviewersinReview
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.
approverto the groupin AD.And successfully
Other One potential issue thatcanarise isthat, the
Have to use some variationof votingcriteriasuch
as “percentage”,”unanimous”tocontrol the
1. Initialize Data
Part of the runbook control category, this activity collects data and passes it to the runbook from the
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
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
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
For Object Class press Ellipse (..) and select the following option as shown:
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.
For Class press Ellipse (…) then select the following
Then for Filters press “ADD” Button and do following steps:
5. Get Relationship (Get Relationship between SR and Review Activity)
Part of service manager IP.
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:
6. Get Object (Get RA Object)
For Class press Ellipse (…) and then select the following:
Then For Filters Press “ADD” then do the following:
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.
For Name press (…) select active directory.
Then press Optional Properties Button:
Select SearchRoot and move it to Selected section..
Press “ADD” button and do following…:
From published data select initialize data as activity and select AD Group Name
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:
For value goto published data..
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:
For Value do published data the activity get user the select following:
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:
In Target Class press Ellipse (…) the select following:
In Relationship Type press Ellipse (…) select following.
In Source Object Guid goto Published data and do following:
Select activity as Get RA activity..
11. Create Relationship
Part of service manager IP.
In Source Class press Ellipse (…). Then select the following:
In Target Class press Ellipse (…). Then select the :
In Relationship Type press Ellipse (…). Select:
For Source Object Guid goto Published data:
For Target Object Guid goto published data:
Select Get users From CMDB as the activity:
Okay , okay and finish.. done :D