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.
216 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-19T08:20:35.013+00:00

    Hi! Andreas,

    Strangely, Your sample shows the CompareResult but mine doesn't. As such, I do not even know what are the Published Data being forwarded from point to point.

    Is there a reason behind this, be it the version or a patch?

    Thanks and await your kind advise.

    Best regards.
    Ronald

    0 comments No comments

  2. SChalakov 10,271 Reputation points MVP
    2020-08-19T08:22:14.847+00:00

    Hi Ronald,

    if you mean the input you make in the "Name" column under PublishedData, then you can have a blank space. What is important is that your variable (what you enter in the "Variable" column) stays without a blank space. Exactly as on the screenshot "Published Data" from the "Run .NET script" activity.

    Hope I was able to answer this.

    Regards,

    Please don't forget to "Accept Answer" and upvote if the response helped you.
    Stoyan

    0 comments No comments

  3. Ronald Seow 206 Reputation points
    2020-08-19T08:38:48.677+00:00

    Hi Andreas,

    Thank you again.

    Yes you got my point. I just changed the name to exclude white spaces but am facing a different problem.

    Now whether it is true or false, it doesn't proceed to the next action. It is so erratic.

    I followed every single logic there is but the program is playing me out.

    Best regards.
    Ronald

    0 comments No comments

  4. Ronald Seow 206 Reputation points
    2020-08-19T08:49:06.327+00:00

    Hi! Andreas,

    I noticed that once the standard condition "<Action> returns success" is removed, nothing will go thru to the next action.

    Regards.
    Ronald

    0 comments No comments