🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Trigger functionality to trigger rapid miner process after outside process completed

User: "chiragrpatel"
New Altair Community Member
Updated by Jocelyn
Hi Everyone,

I have requirement where I have some outside process (outside of Rapidminer) drop some file on RapidMiner server and as soon as file is dropped, I would like to run my rapidminer process.

From Scheduling tool, we can schedule job based on cron expression, but not based on some kind of file trigger or file watch.

If someone have achieve this functionality in rapidminer and can share the approach that would be much appreciated.

Thanks,
Chirag Patel

Find more posts tagged with

Sort by:
1 - 7 of 71
    Hi,
    why cant you just call an exposed WS of RM Server right after you drop it?
    BR,
    Martin
    User: "chiragrpatel"
    New Altair Community Member
    OP
    Thank you Martin for your response.

    We can call WS, but it is rest service (Asynchronous) and our scheduling tool (Tidal Workload Automation) only works in Synchronous fashion.

    The way WS works will not help in this case. WS work in following manner.

    We call WS for process --> It gives response right away (scheduled/started running process with processid or something)

    Our expectation is processes running in Synchronous fashion like below.

    We start the process --> Process keep running and keep the connection open until it results in failure or success.

    Thanks,
    Chirag Patel 
    i know that you are already in contact with my colleague @MarcoBarradas and we work from our professional service side on the solution. I will contribute on this channel.
    But maybe other great experts like @kayman or @Telcontar120 have thoughts here?
    BR,
    Martin
    User: "chiragrpatel"
    New Altair Community Member
    OP
    Yes. You are right Martin and Thank you for following with others. I have also asked @MarcoBarradas and @Sharan_Gadi to help on on this from RapidMiner side.

    Thanks,
    Chirag Patel
    User: "chiragrpatel"
    New Altair Community Member
    OP
    Just FYI... I was able to achieve the trigger watch functionality using python script. Please find attached solution.




    User: "chiragrpatel"
    New Altair Community Member
    OP
    Adding updated sample code as there was tabbing issue in previous file for some code. Some how I am not able to remove attached file, but used TriggerFileFunctionality.rmp file for latest sample code.
    User: "chiragrpatel"
    New Altair Community Member
    OP
    Accepted Answer
    Added timer functionality to restrict trigger watch based on timer. Please find attached latest code.