Stop process and send email notifications when no input file available

Tony_20992
Tony_20992 Altair Community Member
edited September 2020 in Community Q&A

Hello, 

Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.  

Thank you!

------------------------------
Tony Ruffy
Sr Analyst

------------------------------

Tagged:

Best Answer

  • Steve_Caiels
    Steve_Caiels
    Altair Employee
    edited October 2020 Answer ✓

    Thank you Steve, I will look to setup a similar structure.  Curious, is Hub component required to use Verify Workspace?

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-30-2020 04:44 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . .
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------

    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------
    Hi Tony,

    Sometimes!

    For example, you can verify AFTER a Data Prep export without using a hub. This is useful in terms of alerting and maybe triggering a different flow from the 'failed' path; but an empty file has already been created by this stage. To verify BEFORE export, you need a hub.  This allows you to abort the process before an empty file is created.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-30-2020 10:00 AM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Thank you Steve, I will look to setup a similar structure.  Curious, is Hub component required to use Verify Workspace?

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613
    ------------------------------

    Original Message:
    Sent: 09-30-2020 04:44 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . .
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair

    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------

Answers

  • Steve_Caiels
    Steve_Caiels
    Altair Employee
    edited September 2020
    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . . 
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------
  • Tony_20992
    Tony_20992 Altair Community Member
    edited September 2020

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . . 
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------
    Thank you Steve, I will look to setup a similar structure.  Curious, is Hub component required to use Verify Workspace?

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-30-2020 04:44 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . .
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------

    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------
  • Steve_Caiels
    Steve_Caiels
    Altair Employee
    edited October 2020 Answer ✓

    Thank you Steve, I will look to setup a similar structure.  Curious, is Hub component required to use Verify Workspace?

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-30-2020 04:44 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . .
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------

    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------
    Hi Tony,

    Sometimes!

    For example, you can verify AFTER a Data Prep export without using a hub. This is useful in terms of alerting and maybe triggering a different flow from the 'failed' path; but an empty file has already been created by this stage. To verify BEFORE export, you need a hub.  This allows you to abort the process before an empty file is created.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-30-2020 10:00 AM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Thank you Steve, I will look to setup a similar structure.  Curious, is Hub component required to use Verify Workspace?

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613
    ------------------------------

    Original Message:
    Sent: 09-30-2020 04:44 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . .
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair

    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------
  • Tony_20992
    Tony_20992 Altair Community Member
    edited October 2020

    Hi Tony,

    Sometimes!

    For example, you can verify AFTER a Data Prep export without using a hub. This is useful in terms of alerting and maybe triggering a different flow from the 'failed' path; but an empty file has already been created by this stage. To verify BEFORE export, you need a hub.  This allows you to abort the process before an empty file is created.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-30-2020 10:00 AM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Thank you Steve, I will look to setup a similar structure.  Curious, is Hub component required to use Verify Workspace?

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613
    ------------------------------

    Original Message:
    Sent: 09-30-2020 04:44 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . .
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair

    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------
    Thanks again Steve, this makes better sense.

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 10-01-2020 05:02 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Sometimes!

    For example, you can verify AFTER a Data Prep export without using a hub. This is useful in terms of alerting and maybe triggering a different flow from the 'failed' path; but an empty file has already been created by this stage. To verify BEFORE export, you need a hub.  This allows you to abort the process before an empty file is created.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair
    ------------------------------

    Original Message:
    Sent: 09-30-2020 10:00 AM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Thank you Steve, I will look to setup a similar structure.  Curious, is Hub component required to use Verify Workspace?

    ------------------------------
    Tony Ruffy
    Sr Analyst
    Gap Inc Store Labs
    San Francisco CA
    505-462-0613

    Original Message:
    Sent: 09-30-2020 04:44 AM
    From: Steve Caiels
    Subject: Stop process and send email notifications when no input file available

    Hi Tony,

    Much depends on the structure of the process, but you can usually get this behaviour by choosing "Stop" in the verify options.

    image
    Although not related directly to your question, I'd also like to point out the "failed" path that is available from many nodes (including verification, export, scripts) by right clicking on the canvas and showing advanced connectors.  This gives you the ability to follow a separate path if something fails . . .
    image


    In this case, you would usually select the "Continue with verified only" option in the verification node, but it does depend on your process structure.

    Regards,
    Steve.

    ------------------------------
    Steve Caiels
    Professional Services
    Altair

    Original Message:
    Sent: 09-29-2020 01:21 PM
    From: Tony Ruffy
    Subject: Stop process and send email notifications when no input file available

    Hello,

    Is there a way to stop a Visual process within Automator and send an email notification when no input file is present?  I've tried using Verify Model and Verify workspace but was not successful.  I've also tried using alerts but the process still continues and sends a completion email that is setup at the end of the process when it completes.

    Thank you!

    ------------------------------
    Tony Ruffy
    Sr Analyst

    ------------------------------