Resume after command activity exitcode not 0

Last post 09-22-2014, 7:08 AM by BoekMan. 1 replies.
Sort Posts: Previous Next
  • Resume after command activity exitcode not 0
    Posted: 09-22-2014, 6:46 AM


    I have created a custom command activiry where I ping a client from the commserve to check if the client can be resolved and if it is reachable.

    When the client name cannot be resolved I get a pop-up message from the workflow engine informing me the host name could not be found and the workflow exits.

    For example:

    ping -n 1 -w 100 test
    Ping request could not find host test. Please check the name and try again.

    I want to be able to create my own descision object to handle the exitcode but this is not possible because the workflow allready exited.

    Is there any way to resume the workflow after this error?


  • Re: Resume after command activity exitcode not 0
    Posted: 09-22-2014, 7:08 AM

    I have found the resulution to this question by setting the following properties in the custom command activity after placing it in the workflow.

    Continue after max restarts = true
    Maximum restarts = 0 

    I hope this will be usefull for others having the same query


The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Copyright © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy