Update Object Activity in Orchestrator Runbook

jansi rani krishnan 601 Reputation points
2021-05-24T16:03:51.597+00:00

I am trying to update the response from a web-service call to the Incident form via Orchestrator Runbook. So am using the "Update Object" activity for this purpose. It throws some error as i am trying to update the response in one of the used empty field.

A sample response from the Web-service call.

99177-image.png

PFA the property details of the update object.

99231-image.png

System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
217 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andreas Baumgarten 98,621 Reputation points MVP
    2021-05-25T09:46:10.953+00:00

    @jansi rani krishnan ,

    if the ResponseObjectResult should be updating the Alternate Contact Method you need to add this in the activity ;-):
    Right-click in the field right of the Alternate Contact Method
    Choose Subscribe -> Published Data -> Run .Net Script activity -> Select ResponseObjectResult

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


1 additional answer

Sort by: Most helpful
  1. Andreas Baumgarten 98,621 Reputation points MVP
    2021-05-24T17:44:23.56+00:00

    Hi @jansi rani krishnan ,

    The Object Guid is SCSM internal object guid of an existing Incident Record (Not the IR1234 Id, its a Guid)

    To get the Object Guid of an SCSM Object you can use the Subscribe -> Published Data -> SCObjectGuid of a Get-Object or Monitor-Object the contains the SCSM Incident Object details.

    The ResponseObjectResult of the Run.Net Script activity can be stored in an Incident property/field you can select by clicking on the Select optional fields. For instance in the Description property of the IR.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.