How to use setVarible in workflow?

Last post 04-28-2016, 4:51 PM by Devsrm. 2 replies.
Sort Posts: Previous Next
  • How to use setVarible in workflow?
    Posted: 04-27-2016, 3:42 PM

    How to use setVarible in workflow?

    Is the below a valid statement for setting a worklfow variable?


    Please provide some examples for setting workflow variables

  • Re: How to use setVarible in workflow?
    Posted: 04-27-2016, 4:18 PM

    The first parameter of the workflow.setVariable method is just the variable name.  So in your example you would just do

    workflow.setVariable("Host", xpath:{/workflow/inputs/mediaAgent});

  • Re: How to use setVarible in workflow?
    Posted: 04-28-2016, 4:51 PM

    Thanks. This is working perfectly

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 © 2021 Commvault | All Rights Reserved. | Legal | Privacy Policy