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
basic Process
Ok , I am newbie to this Rapid Miner thing. I am trying to do a simple process as follows :
1 - Select a query (Count Query)
2 - IF the count is > 1 then send an email
simple . I have been battling with this for ages.
Here is my process . Can someone help me please
Tagged:
0
Answers
hello @mhkhoury - no problem. So I think your struggle is the Branch expression. It should be:
if(TotalUnSentCount==0,TRUE,FALSE)
Scott
I placed the suggested expression with no luck it says it cannot parse the expression the variable TotalUnsentCount is unknown !!! how come ?
Hi @mhkhoury,
I have some remarks here:
In RapidMiner Macros are used with curly brackets ==> %{TotalUnSentCount}
Here you (usually) compare to values and not check for the value of an Attribute.
If you want to use this I suggest to extract the value of the Attribute TotalUnSentCount as Macro (Extract Macro).
Set the macro type to data_value, attribute name is TotalUnSentCount, and example index is 1. macro is the name of the new macro.
Then the expression would be %{name_of_the_macro}=="test_value" (%{TotalUnSentCount}=="0"). Since Macros are by default strings you need to double quote the right side of the expression.
Since you have just one example, you could also use this condition type. The usage would be TotalUnSentCount = 0.
I was not able to import the XML you attached - I took me some time to fix the problem.
So for future usage please do one of the following:
Within RapidMiner there is an XML panel under View. Please copy the content into the post (using the code insert tool </>) or attach your process file (file extension rmp).
Hope this helps
Best,
Edin