Orchestrator Runbook "Links"

Ronald Seow 206 Reputation points
2020-08-19T03:02:30.993+00:00

Good morning!

I'm very new to MS Orchestrator so please give me your utmost support whenever possible. Thank you in advance.

I have created a Runbook 18653-sco-image1.png

When the Check User script completed, There's a Published Data $CompareResult which is either "True" or "False". However, in the Link, regardless of how I apply a check, It will always proceed in all directions. Isn't the filter suppose to determine whether the action following the link gets executed?

Appreciate any advise.

Thank you once again and best regards.
Ronald

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.
215 questions
0 comments No comments
{count} votes

Accepted answer
  1. Stefan Horz 3,461 Reputation points
    2020-08-21T20:41:08.617+00:00

    Hi Ronald,

    you can download this sample Runbook from here https://1drv.ms/u/s!AkXRVOcQ_Bj_iLR_287BNf_tqL-2-Q?e=XuOhCi.

    19603-checkuserresult.jpg

    Since System Center 2019 Orchestrator the Windows PowerShell Version of the system exectuting the Runbook will be excuted in "Run. Net Script" Activity. For previous versions check https://sc-orchestrator.vasol.eu/run-the-powershell-version-of-windows-executing-the-orchestrator-runbook-service-in-run-net-script-activity/

    A checked-in Runbook will always be executed from the Account running Orchestrator Runbook Service. Only with Runbook Tester a checked-out Runbook will be executed from the user running Tester
    If you want to get Who started the Runbook from the Orchestration console take a look at: https://blog.ctglobalservices.com/automation/jgs/who-started-the-runbook-from-the-orchestration-console-use-this-runbook/.

    Regards
    Stefan

    0 comments No comments

16 additional answers

Sort by: Most helpful
  1. Ronald Seow 206 Reputation points
    2020-08-24T02:49:22.197+00:00

    Hi Andreas/Stefan,

    Thank you for all your kind support, enabling me to complete my task successfully.

    Really appreciate all your advises, efforts and replies despite your busy schedule.

    Best regards.
    Ronald

    1 person found this answer helpful.
    0 comments No comments

  2. Andreas Baumgarten 97,566 Reputation points MVP
    2020-08-19T06:52:16.787+00:00

    It is like you described. The Link can be configured like that.

    Just a simple example:

    18703-scorch1.png

    Config of Published Data

    18704-scorch2.png

    Config of the Link

    18705-scorch3.png

    Result in the Runbook Tester

    18658-scorch5.png

    Details of the first activity in the Runbook Tester

    18659-scorch4.png

    Maybe this is helpful.

    Regards

    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments

  3. XinGuo-MSFT 14,621 Reputation points
    2020-08-19T07:26:51.76+00:00

    Hi,

    Here is the official document about how to use the smart link in Orchestrator.
    https://learn.microsoft.com/en-us/system-center/orchestrator/control-runbook-activities?view=sc-orch-2019

    0 comments No comments

  4. Ronald Seow 206 Reputation points
    2020-08-19T08:03:36.457+00:00

    Hi! Andreas,

    Thank you for your kind advise.

    18763-sco-image2.png18764-sco-image3.png

    Will there be an impact if the name of the variable has a blank space between words?

    Thank you once again.
    Ronald

    0 comments No comments