Create reviewer fails after a create review activity

I have a runbook where I create a related Review Activity for a Service Request.  The runbook is then has a create reviewer which fails.  Details of the failed object Source Class=Review Activity, Target Class=Reviewer, Relationship Type=Reviewers,
Source Object Guils {SC Object Guid from "Create Review Activity"}.  It complains that the Object Guid is not an instance of class is not  [System.WorkItem.Activity.ReviewActivity].  However, if I test with a different runbook and
do a get object on the review activity with the same ID it works.  Is there a known issue when creating reviewers after a create review activity?

You may be returning the incorrect ID for the Review Activity. I would suggest running it through the Runbook Tester using the step through. Then take a look at the GUIDs that are populates in the in create relationship activity. If you can post a screen
shot of what is displayed and what your runbook looks like, it would help us assist with troubleshooting.  
Matthew Dowst |
Blog | Twitter

Similar Messages

  • Create a view - All Service Requests that contain a Completed Review Activity

    In the Service Manager 2012 console, is it possible to create a view that displays Service Requests, with the view criteria being something like as follows:
    Service Request status is In Progress
    Service Request contains a Review Activity where the Review Activity status is In Progress
    My intent is to provide a way for Service Desk Operators to be able to identify requests that are ready for implementation.
    From what I'm seeing in the console, this sort of view is not possible as it appears that any view criteria must be derived from the view's target class.

    Nothing like a bit of thread necromancy in the morning.
    It turns out the solution to this question was quite straight forward (once you know where to look...)
    The trick is creating a view based on one of the Service Request combination classes rather than the basic class itself, and then rephrasing my requirement after realising that what I was really after was a view containing Requests that have an In Progress
    Manual Activity.
    So...open the console, go to Work Items, right click on
    Service Request Fulfillment and select Create View
    On the General tab, give your view a name and select a Management in which it will be stored.
    On the Criteria tab, click Browse to select a specific object class.  Change the
    Frequently used basic classes filter to Combination classes then enter 'Service Request' in the filter field.
    Pick the Service Request and Activity class.
    Now when configuring the criteria, you'll notice a little arrow next to the
    Service Request class. Click on this arrow to expand the node, and select the
    Contains Activity class.
    Under the Available properties box, enter 'Status' in the search field. In my environment, I got two Status fields. Each corresponds to a specific Activity class. Select both of them and click
    Add.
    One of the Criteria will look like 'Contains Activity[Activity]Status'. Keep this one and delete the other from the Criteria box. Change the value to 'Completed'
    While we're at it, select the Service Request class and add a criteria for the Service Request Status = 'In Progress'.
    Click on the Display tab and select whatever fields you want to display in this view.  Click
    OK to save this view.
    Now go to the Administration workspace and select the
    Management Packs node. Export your management pack that contains your view and open the management pack in a text file viewer. Notepad++ works for me...
    First search for the string that you used to name your view. It will be found towards the bottom of the MP in a DisplayString element in the LanguagePacks XML element. This element will have an ElementID.
    Select the ElementID and search the entire file for this string. You want the instance that resides within a Presentation | Views | View element. From this point, scroll down until you get to a Criteria element. Within the Criteria element you will find
    the two Expressions that were entered via the GUI. One of the Expressions corresponds to the Service Request.Status=In Progress criteria, the other corresponds to the Activity.Status=In Progress criteria. We will be changing the Activity criteria so that it
    explicitly refers to a Manual Activity.
    Identify the Expression that has the Property containing the string 'System.WorkItemContainsActivity'. We will be changing the TypeConstraint attribute of this criteria.
    In this line, Replace the string 'System.WorkItem.Activity' with 'System.WorkItem.Activity.ManualActivity'
    Save this file and import the management pack into SCSM

  • Review Activity (RA) Approval Condition is Changing

    Hello everyone,
    I am running SCSM 2012 R2 version 7.5.3079.0 (no CUs).  I am having an odd issue where it seems as though the approval condition is changing on review activities.  I can't seem to figure out if I've done something or if there is something else
    going on.  This is causing some tickets to "stall" and not actually get processed or is delaying actual approvals.
    So as an example, the person who originally designed the system put an Automatic Approval Review Activity at the beginning of every SR.  In the template, the Approval Condition was set to Automatic and there were no reviewers.  All of a sudden
    a reviewer with no name would show up and the approval condition would become unanimous.  I since removed that RA.
    Now there is a similar issue I am finding on my Change Requests (CRs).  I have only done three as we are basically doing dry runs before we convert off our old system.  In my template, I have a review activity that has the six members of our
    change approval board as reviewers.  The members rarely change so I saw no reason to make this dynamic.  The template has the stage set to Approve with an Approval Condition set for Percentage.  The threshold is 66% or 4 of the 6 reviewers. 
    At some point, the approval condition was changed to unanimous.  If I look at the history of the RA, I can see where the activity was created and it says Approval Percentage 66.  The RA went from Pending to In Progress and then about a minute later,
    the approval condition and percentage changed.  The name on that time entry is just one of my service accounts.
    If it helps...here is that process that the CR template follows
    Automatic Review Activity, which has not been an issue so far.
    Runbook Automation Activity - Updates some fields on the CR with information based on fields.  Also modifies the reviewer in the next step to be the Business Owner of a system.
    Business Owner Approval Review Activity - Template is set to unanimous and has one blank reviewer that is updated by the previous runbook.
    Change Approval Board Review Activity - Explained above.
    Runbook Automation Activity - Converts the Change Request to a Release Record.
    I appreciate any and all assistance that someone could provide.

    This is a common issue.... try restarting the following three services: Microsoft Monitoring Agent, System Center Data Access Service, System Center Management Service and deleting your health service cache (Installation Folder/Health Service State) (it
    will regenerate once you restart the services)

  • Incident Review activity

    Hi
    In my SCSM 2012 for incidents, i am planning to add review activity so that if any approval is required, it can be approved by the line manager for the created user.
    But if try to add activity, only manual activity is displayed. I need to add Review activity to an incident.
    is it by design that Reviews activity is only for Service request?
    regards Sundaresan.C

    i think the problem here is that you haven't considered the need all the way though. remember that an incident is a user's report of a problem. what does it mean to have someone approve my report of an outlook problem?
    anything that requires approval needs to be a service request, rather then an incident. a service request is a user's request for something; something that can require approval before being delivered.
    it make sense to approve my request for a new computer, it doesn't make sense to approve my report that my computer is on fire; but you might want to reference my incident reporting a computer fire as support for my request for a new computer. 

  • Review activity -- Send email to reviewers, with mutilple review stages

    I am trying to make a series of review activities.  I want the reviewers to be notified only when their activity is in focus.  I have tried several ways but have ran into issues.
    Method 1:  I had a series of Review activities that ran in sequence.  I created a workflow to run "on update" when the stage changed.  The workflow was to notify the reviewers.  I assumed that it would only notify reviewers
    of the current review activity but it notified all reviewers in all review activities.  I couldnt get passed this issue so I went to method 2.
    Method 2:  I had a review activity that upon completion would run a workflow.  The workflow would initiate a new template that would add the next set of reviewers.  In addition the workflow would notify the reviewers that action was required. 
    The problem is that the original reviewers recieved the email as well.  I only want reviewers who have an action required to get the email.
    Please note that I am fairly new to system center, so if you could provide a little detail to potential solutions that would be great.
    Thanks in advance for your help.

    Thanks for your reply... I sure hope I am doing something wrong.
    1.  I am targeting the RA... I.E. The workflow is set in the activity event workflow config; then Review activity.  I tried it a couple of ways.  One way to target the RA when it changes, and the other is to target a specific RA based on the
    stage (I.E. Changed to approve).  Also this is for change requests, but the concept should be the same.
    2.  I tried a rule that was: "on update; status not equal to in progress"  Which worked, but all Reviewers in all RA's got an email.  The other rule I tried was: on update, stage changed to approve.  Which also worked, but all approvers
    in all RA's got the email.
    3.  Each RA has am independant list of reviewers... If someone is listed more that once, it is because there input is needed at that particular time in the process.
    4.  This may be the answer.... I am going to test now.  I had them all listed one by one, and hadnt investigated the sequential activity "activity"... I.E. I had listed all of my RA's whcih in the flow diagram were sequential, rather thatn using
    the sequential activity "activity".
    I am going to test, Ill respond in a few on my progress.
    Thanks

  • Exchange Connector - Review Activity Votes not updated

    Hi All,
    I have System Center 2012 R2 Service Manager with Exchange Connector 3.0 (last version, incl bug fix).
    I have configured Exchange Connector to check emails in Office365 Mailbox. I've created Run As Account (named O356 RAS) with username of the cloud mailbox user "o365domain.cz\leaservice" (email [email protected]). Our internal domain is
    not the same! it is domain.local.
    When I create Service Request with Review Activity and I try to Approve this RA by email by sending email with:
    From: [email protected]
    To: [email protected]
    Subject: [RA12345]
    Body: [Approved]
    nothing happens. I've configured the EWS logging in the registry to level 7, so I can monitor the Exchange Connector in Eventlog. I can see that the connector can see the incoming approval email and process it, because email is deleted in mailbox and in
    RA history I can see related object to O365 RAS. But the vote is not processed, Decision Field contains "Not Yet Voted"
    RA is in status "In Progress"
    The same email status change for Manual Activity is working!!!! I'm using status [Completed] and everything works just fine.
    I have problem only with Review Activities... Any ideas pls?
    Thanks
    Jan Marek MCT | MCITP | MCTS

    I fixed it! Workflow Account's AD User has to use the same email address as the Exchange Connector.
    I've been using email [email protected] for SCSM workflow account and as the reply address in the scsm smtp notification channel and different email [email protected] for exchange connector. this was causing the review activity problem.
    Jan Marek MCT | MCITP | MCTS

  • Review activity re-assigment

    Hello,
    we have SCSM 2012 R2, as you know there is no possible way to make notifications for assigment/reassigment and we need to use custom MPs. I found this management pack for example
    http://www.scsm.se/?p=1053. But we have a problem with reassigment of review activity, if I create a new reviewer, I recieve a notification, if I change current reviewer (me) to another person from AD and back
    to me, I do not recieve notification, is it possible to create such notification?

    So it's important to understand that a review activity is actually a collection of objects, not just a monolithic work item. (I don't have the reference in front of me, so don't take any names in this post as gospel).
    you have the Review Activity itself, which has the parliamentary rules for voting, title, desc, RA#### id, etc.
    you also have a "Review" object for each reviewer that is related to the parent RA by the ReviewActivityHasReviewer relationship. each "Review" object contains the decision, must vote and veto properties, as well as relationships to users, specifically ReviewerhasReviewuser,
    that relates the review object to the voting user, and the Voted By Relationship that records who actually voted in the case of proxy votes.
    So in this model, there are two relationships that can change to trigger a notification. you can have a new Review object added to the review activity, or you can have a new user added to the review object. you're going to need to have two notification
    rules to make this work.
    From my reference above, you'll want to use the console to create two notification subscriptions with dummy criteria, Export out the MP that contains those rules, and replace the existing subscription block with a custom subscription block based
    on RelationshipSubscription targeted at either the review object or review user relationships instead.

  • Review activity set to notify Affected User of Approval Required - Service Request

    We are trying to setup a new employee on boarding process.   We have a service request form that gathers information.
    We also have a review activity that the affected user (who is the manager on boarding the employee) has to approve when they get a signed confidentiality agreement, etc.
    We cant set Affected User as a Reviewer but the affected user can approve.  
    How can we notify the affected user to review and approve the review activity.
    On the screen shot below it is the first review activity.
    Note:  we have some workflow activity events setup that work when the reviewer is assigned in the template.
    Thanks Lance

    You want to set the affected user of the SR as a reviewer on the RA? In essence approving their own request. Why not just make the signed confidentiality agreement mandatory (cannot create request without it). 
    Anyways you have two ways to go. A custom workflow/scheduled PS-script or a runbook. If you have Orchestrator that is the easiest. Setup a "Monitor Object" that targets new SRs and a criteria that uniquely identifies the SR (Title may do). Then get the related
    user from the SR and add this to the RA as a reviewer. Should be fairly easy to google a blog on specifics on how to do this.
    http://www.scsm.se/?p=895
    and a long one:
    http://blogs.technet.com/b/servicemanager/archive/2012/05/22/working-with-relationships-in-the-scsm-orchestrator-integration-pack.aspx
    http://codebeaver.blogspot.dk/

  • Review Activity Notification to Direct Reports

    We have a workflow, thats creates review activity to manager of useraffected. Works Perfectly.
    But in some cases, aduser have direct reports, and SCSM aggregate this people to reviewers, from a review activity and send email to manager and direct reports.
    I was investigating, y apparently direct reports and manager are "reviewers".
    Is this situation a bug, an error, or it's OK?
    There is anyway to avoid that direct reports are agregated to reviewers?
    Thanks

    Hi,
    How do you determinate direct report users?
    Cheers,
    Marat
    Site: www.scutils.com 
    Twitter: LinkedIn:
    Graveyard:
    from Ad properties. The users in active directory have direct reports

  • Get user who approve review activity

    Hi, 
    It's possible  to create a notification to notify affected user who approved her review activity ?

    It possible into Powershell or Orchestrator.
    More difficult way is coding own workflow.

  • Approving review activity (notification)

    Hello,
    please help to solve problem with notification.
    I need to recieve notification if someone approve Review Acitivity in the change request, if I am responsible person of service request. I found possible way
    http://www.scsm.se/?p=948 but it did not work for me. I created subscription, exported MP and changed string in the rule section of newly created subscription:
    <Item>$Context/Path[Relationship='CoreActivity!System.WorkItemContainsActivity' SeedRole='Target' TypeConstraint='WorkItem!System.WorkItem']/Path[Relationship='WorkItem!System.WorkItemAffectedUser' TypeConstraint='System!System.User']$</Item>
    but do not work.

    So let me see if I have this straight. you have a change request, which contains a review activity, and when someone approves this review activity, you need the owner of a service request to be notified. I have a few questions:
    How are the change and service request related? is this a unique relationship or the generic "work item affects work item" relationship?
    Are you looking to send a notification when a user votes on a review activity, or when that review activity is marked as approved and the process is ready to continue? This is only an important distinction for review activities that have multiple reviewers.
    Hello,
    for example we have simple service request with review and manual activity in it, if someone approves review activity, AssignedTo user of service request needs to be notified.

  • How to Create New Activity Type  for Assiged to work centre Costing in Acti

    Dear Sir,
    We have four activity type to assigned in workcentre Costing Activity. Details are as under
    AIRJET     2010     AIRJET
    DONIER     2010     DORNIER
    SULTEX     2010     SULTEX
    SULZER     2010     SULZER
    in addition one more loom is comming in our unit and require new activity type.
    How can i create new.
    Please guide.
    Thanks in advance
    Regards
    Ajit

    Dear ,
    To create new Activity Type  , you need to follow the below steps :
    KA01 - Create Primary Cost Element for the new activities type.
    KL01 - Create Activity Type tied to the primary cost element. 
    KP26 - Change Activity Type/Activity Price Planning - maintain the Variable price
    Assign the activity type to cost center using T code KP26.
    In the input screen of T code KP26 ,enter version as 0, from period 1 and to period as 12 and the Fiscal Year as 20xx.
    Click on Overview tab on top and key in costing details in this screen.
    After performing this ,while creating the work center ,this combination of activity type & cost center should be assigned.
    At work centre level , you should have
    1.Create Standrad Value Key -OP19 and Formula Key in OP49.
    2.Create Formula Parameters in OP7B or u can use existing one to assing in the Standard Value Key
    3.In CR02-Assing the Standard value key in Basic Data  and select the Formula Key in Costing tab with cost centre assingement .Save
    Try and check
    Regards
    JH

  • Creating custom activity( DSC service)..but  getting errors while starting  service in workbench

    Hi ,
    I have some hands on   developing the  process. So I started creating one custom activity.
    I created one activity  which takes  inputs and gives a string after some  calculation. But program requires some additional jar  files which are  included as  lib folder in  my  java  project.
    I exported java project as jar  file and installed successfully in  the workbench. But while starting the component .. getting error like  ::
    Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: net.fortuna.ical4j.model.Date
    at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
    at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
    at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.ungoverned.moduleloader.ModuleClassLoader.findClass(ModuleClassLoader.java:291)
    at org.ungoverned.moduleloader.ModuleClassLoader.loadClass(ModuleClassLoader.java:164)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 117 more
    Please find full description of  the error in the attachment. Hope LC  is   not taking  added jars in the  lib.
    Because of this error i am not able to go forward.
    Do I need to add/include the  necessary   jars into LC ? .
    Please guide me  how to resolve this error.
    Waiting  for your answer.
    Thanks
    Praveen

    Putting the jar in the appserver's lib folder is one way to have the class found at runtime, but not all sites will allow you to do this because you just made it available to everything running on the appserver.  Plus, now as you move your dsc around from test to staging to production, you have to remember to move the jar as well.
    The alternative is to include the jar in your DSC and reference it in the classpath node in the component.xml file.
    Just checkout how the distributed DSCs do it (adobe-remoteevents-dsc shows 2 jars in the root of the package and both are referenced in the component.xml's classpath.
    Jon

  • Create an Activity Report for Current Week

    I would like to create a activity report for the current week. The trick is that if the weekday is Wednesday or earlier (Sunday being the first day of the week), the report shows last week's activities; but if the weekday is Thursday or later (Saturday being the last day of the week), the report shows the current weeks activities.
    I have a filter that works in Access but does not seem to work in Siebel. It does just what I explained above:
    Between CDate(Int((IIf(Weekday(Now())<=4,Now()-(6+Weekday(Now())),Now()-(Weekday(Now())-1))))) And CDate(Int((IIf(Weekday(Now())<=4,Now()-Weekday(Now()),Now()+(7-Weekday(Now()))))))
    Thank you,
    David
    Edited by: DavidE on Oct 7, 2008 4:17 PM

    David,
    try this:
    case DAYOFWEEK(CAST(Activity."Planned Start Time" AS date))when 1 then timestampadd(sql_tsi_day,1,CAST(Activity."Planned Start Time" AS date)) when 3 then timestampadd(sql_tsi_day,-1,CAST(Activity."Planned Start Time" AS date)) when 4 then timestampadd(sql_tsi_day,-2,CAST(Activity."Planned Start Time" AS date)) when 5 then timestampadd(sql_tsi_day,-3,CAST(Activity."Planned Start Time" AS date)) when 6 then timestampadd(sql_tsi_day,-4,CAST(Activity."Planned Start Time" AS date)) when 7 then timestampadd(sql_tsi_day,-5,CAST(Activity."Planned Start Time" AS date)) else CAST(Activity."Planned Start Time" AS date) end
    This gave me the sunday of the week. You should be able to modify this format for your purposes.
    cheers
    Alex

  • How can you create an activity as subsequent act. of more than one activity

    Hi.
    I want to create an activity as subsequent activity of more than one activity.
    I am using FM CRMXIF_ORDER_SAVE, but if I write data structure CRMXIF_DOC_FLOW with more than one item the system shows the error CRM_COPY 010 More than one predecessor was entered for data transfer.
    However I have customized multiple relationship allowed, and if I do multiples links in transaction crmd_order it works all right.
    Only it doesn't work with FM CRMXIF_ORDER_SAVE. I need create activities with FM because they are interface R/3. What FM can I use to create multiple subsequent activities?
    Thanks and best Regards
    Sorry for my english.

    Hi,
    I have got some activities creates in the system. (e.g. Act. 1, Act. 2, Act. 3 and Act. 4). With the FM CRMXIF_ORDER_SAVE  filled the structure CRMXIF_DOC_FLOW you can create subsequence activity of one of them (e.g. Act. X.1). I need create the same activity (Act X.1)  from another activity, (e.g. Act. 2). I know to do this in transaction CRMD_ORDER by link tab. But I don't know how to do this using FM or BADI or another thing.
    Act. 1     Act. 2      Act. 3     Act. 4 
    .....Act. X.1
    Thanks in advance.
    Edited by: Ana Isabel París on Jul 7, 2008 2:42 PM

Maybe you are looking for

  • Open ATI Drivers - Unable to initialise screen in normal boot

    Hi, I've been having a bunch of trouble with my graphics card since installing a Radeon HD 6900 card. Neither the Catalyst driver or the Xorg Open ATI driver currently work. I've abbandoned the Catalyst drivers as just unwilling to work with Gnome 3

  • Reporting Server best practices ...

    we are migrating a bunch of reports from reporting services native mode to sharepoint 2013. Ideally these reports would be accessible (some mutually and some exclusively) between n number of companies that are supported by the BI IT Department. There

  • How to use item menu 1293

    how to use the item menu 1293 on the matriz row??

  • Calendar.live settings icon not visible in Firefox 28.0

    The live.com settings icon in all pages except mail is not visible when using Firefox. It works fine in IE.

  • Need help combining cd's

    Please Help..When downloading cd's...it seperates some of them..for example Tracy Lawrence Strong..it put the first three songs on one..then right next to it is another cd with the remaining songs..Ray Charles Genius loves company has TWELVE seperate