LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How to trigger a job when new records are found?

    Employee
    Posted 03-24-2014 11:34

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryanmacdonald

    Hi Everyone,

    We're looking to find an alternative solution to the following process we currently use to trigger a daily job:
    1. Email notification that yesterdays data is ready is received in a group email box.
    2. Outlook script is triggered when this email notification is received; based on the title of the email.
    3. Script creates a txt file with yesterdays date.
    4. A Cronscript is scheduled to look for the txt file created in step 3; when found it launches the daily job.

    Is there a way to replace steps 1-3 in lavastorm? i.e. Create a loop to check for new records, if new records exist then the job runs?

    Any thoughts or ideas on how to do this would be appreciated.

    Thanks for your time!


  • 2.  RE: How to trigger a job when new records are found?

    Employee
    Posted 03-26-2014 11:18

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ltolleson

    Hi Ryan,

    Currently LAE does not have a standard node or operator to read emails. I have not researched it, but I would guess there are 3rd party Java or Python libraries that could be used to create a custom node. I can see this being a very useful node and something that Lavastorm could build in the future.

    Larry


  • 3.  RE: How to trigger a job when new records are found?

    Employee
    Posted 03-28-2014 14:06

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ejones

    I've seen a Python node that uses the imaplib and email libraries. The node could download emails and read the attachments.