Orchestrator Quick Tip ! Junction


Hello,

When you have multiple actions that you want to run in a parallel way you can link them and use the junction in order to wait for all actions to be finished before continuing.

Here’s the Technet explanation : https://technet.microsoft.com/en-us/library/hh206089.aspx

Now consider the following example :

We use the logging IP in order to grab some information in service manager and save it in a custom field. This is accomplished by calling several sub runbooks.

It looks like this :

clip_image002

Now if we return no data from the junction then our get log data is not succesful as the logging ID is empty.

clip_image004

If you run the tester you recieve no error but the logging id is empty.

clip_image006

clip_image008

While the action clearly stated to use the logging_id from the start activity.

clip_image010

Now if we add the return activity from our previous branch we recieve exactly the same issue.

clip_image012

I had to add a link to our first subrunbook in order to be able to retrieve the Logging_id from our first start action. Then it works.

clip_image014

And set the returned data from the junction to this activity.

clip_image016

At last success.

Enjoy.

Gino D

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s