How to pass global variable values between the parent and child package

  • How to pass global variable values between the parent and child package

  • In the parent package, create the global variables that you want to pass, then create an Execute Package Task.  On the 'Outer Package Global Variables' tab, select the global variables that are used in the child package.

    Remember that global variable names are case sensitive and they have to be identical in both packages.

    You might also consider using inner global variables, which set the values of the global variables in the child package without having to be created in the parent package.

    Greg

    Greg

  • thank you very much

    can I receive excuting result of child package in parent package by globle variable?

  • Yes, you can when using outer global variables because they're available in both packages.

    If you just want to know if the child package succeeded or not, you can use workflow in the parent package.  Add a 'success' workflow and a 'failure' workflow from the Execute Package task.

    Greg

    Greg

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply