Em segunda-feira, 16 de julho de 2018 19:15:46 UTC-3, Pankaj Kumar escreveu:
> Hi,
>
>
> If you have the set the variable using "RMPApplication.set" method, you should access the variable with same variable name that you had given in "set" method. i.e
>
> "RMPApplication.set ("taskList", result)" to access "result" variable please use "RMPApplication.get ("
>
> taskList
>
> ")". This variable will be accessible only in main process not in "sub-process" (in case if you have selected "
>
> Nested process" variable will be available.)
>
>
> Once you select the "
>
> Send variables" checkbox, you need to explicitly set the variable in sub-process input parameter tab that you want to send in sub-process. Please refer to below link and attached screen-print for reference:-
>
>
>
http://docs.runmyprocess.com/Developer_Guide/Development_Environment/Toolbox/Processes/Step/Task/Process_Task_SubProcess_Tab
>
>
>
>
>
>
> Thank you,
> Pankaj Kumar
> Fujitsu RunMyProcess Support
>
>
> On Mon, Jul 16, 2018 at 11:46 PM, <
lto...@gmail.com> wrote:
> I'm trying to read the value of an Array type variable defined in a MAIN process inside a sub process, with no success. The value of this variable can be viewed correctly through a Process Report in the "Initial Parameters" tab of all the sub processes that are created. I only have 1 web interface with multiple screens as recommended. The detail is that each screen is in a Custom Widget.
>
> The variable is being added using "RMPApplication.set ("taskList", result)" with script in the action button responsible for starting the main process. To retrieve the value, I'm using "RMPApplication.get (" tasks ");" which returns NULL on the console.
>
> "Send variables" and "Inject Results" options in the sub process are selected.
>
> Could you help?
>
>
>
> --
>
> Fujitsu - RunMyProcess
>
> ---
>
> You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to
Hi Pankaj. Thanks for answering.
You are correct on the way to obtain the variable value. It was a mistake from my side when copy/paste the example to prepare the e-mail message.
Unfortunately, I am still not able to make it work. I've attached a PDF file containing some screenshots from my project. Could you please, take a look and let me know if you find errors or something that is missing?
Basically, I suspect the problem is related with the fact that my variable is not available under "Parameters->Computed Parameters"