Question
M1 Ltd
SG
Last activity: 10 Jul 2019 9:32 EDT
In/Out Parameter for activities
Hi,
I believed this questions have been raised a lot of time, but I have difficulties in understanding the help and the forum explanation. Hope that someone can write the steps down in PLAN SIMPLE ENGLISH for me to follow.
Basically, I created a module(MoveFiles) to move files from 1 directory to another (I am using Pega Platform 7.3, and Pega Marketing 7.22, so the Pega Move function is not available here), and this activity can be invoked by other Agents.
From the various Agents, I will pass in the a) Source Directory, b) Target Directory, c) File Name, and d) the originating agent description (to be put into the Log, as well as in the email message) to the MoveFiles Activities.
If there is any error in moving the files, I will configure the email message in the MoveFiles Activities, and passed it back to the Calling Agents to send out the email.
The issue is, when I enabled the "Pass Current Parameter Page", I am not able to pass in the above 4 parameters, but I am able to retrieve the output parameters. When I uncheck "Pass Current Parameter Page", I am able to pass in the 4 parameters, but unable to retrieve the output parameters.
Please adivce where have I gone wrong.
Regards.
***Edited by Moderator: Lochan to update platform capability tags***