Help Desk

Submit a ticket My Tickets

Handlebar variables

Can handlebar variables be updated via an external script?  While I understand how to pass a variable to an external script via handlebars, can that same variable be updated by the external script and passed back to the onecloud environment?

  • Hi David - currently this feature is not directly supported, but there is a workaround. Please try this approach:

    1. Keep a list of variable values in a text file on a file system or some type of cloud file storage.
    2. Use the Command File Utilities -> List File Content.
    3. The output of LIst File Content can then be parsed with a Dynamic Output in the form of single or multiple variable.
    4. Now that you have converted the values to one or more variables, they can be used inside of the Chain and passed to subsequent Chains with the Run Chain Command.
Login to post a comment