on ‎2015 Nov 30 4:31 PM
Hello,
I am able to execute package link by using function ea.DataManagerRunPackageLink "DMS ID","Package name".
It opens up package link which the user can execute by setting prompts. However I would like to set these parameters for the user to execute. In order to do this I need to pass on parameters dynamically. However I am not able to do this i.e. change parameter in prompt automatically.
In contrast to execution of package, we have the option of setting parameters and package definition; which is not the case for package link.
Hence the question again is, how to dynamically pass parameters/prompt values to package link.
E.g.: Say I have a package link that runs a task of "COPY" package and it is used to copy from CostCenter A to Cost center XYZ. If the To cost center need to change based on the context of the code I need to pass parameters dynamically. How to do this?
Thanks,
Aditya
Request clarification before answering.
Hi Aditya,
There is no documented way to interact with package link parameters...
But why you have to use package link?
May be you can use single DM package? May be with custom chain...
Please, explain the requirements.
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
Thanks for the reply.
I need to do two things:- one copy and two push the data to another model.
When I use package alone, push to another model is starting before copy package is finished. Hence if I use package link I can control the sequence of the events.
Alternatively I can use process chain and trigger it through UJD_TEST_PACKAGE. However the program is not taking the file created by answer prompt.
Thanks,
Aditya
RUNLOGIC_PH is useful if you want to launch script from one model but to push data from another model:
Script in model_Target
1. Clear defined scope in model_Target
2. Launch with RUNLOGIC_PH script in the model_Source with DESTINATION_APP to push
3. Perform additional data processing in model_Target
Vadim
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.