RapidMiner

Macro - Calling among different processes

Regular Contributor

Macro - Calling among different processes

Hi,

 

I have created macro in one process as per below screenshot. I have also used "Generate Attribute" operator to call the macro "%{test}" in the same process.
macro.jpg

 

Question:

I am creating another new process and wants to call the same marco. How can I do it as I do not want to re-key again all the Macro value in another process. Can anyone kindly advise? Thanks.

2 REPLIES
Community Manager

Re: Macro - Calling among different processes

[ Edited ]

What version of RM are you using? it appears to be the old v5.3.

 

You could try embedding your processes inside on process (aka Execute Process) and see if the macro passes through there. 

 

Or you can try storing the macro value and then retreiving it in the new process. 

Regards,
T-Bone
Twitter: @neuralmarket
Regular Contributor

Re: Macro - Calling among different processes

Hi,

I am using v5.3.

 

You could try embedding your processes inside on process (aka Execute Process) and see if the macro passes through there. Or you can try storing the macro value and then retreiving it in the new process. 

 

I do not quite understand the statement. Possible to show me steps by steps guide?

 

I tried copy the macros from the XML in one process to another but the negative side is that if there is an update in the macro, I will need to update every process with the macro.

<macros>
     <macro>
           <key>test</key>
           <value>15</value>
     </macro>
</macros>