The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Macro - Calling among different processes

mengkoon007mengkoon007 Member Posts: 30 Contributor II
edited November 2018 in Help

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.

Tagged:

Answers

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    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. 

  • mengkoon007mengkoon007 Member Posts: 30 Contributor II

    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>

Sign In or Register to comment.