Jump to content

Automation and running scripts with Global Variables


Recommended Posts

I am using a script to install rclone on servers when they are onboarded. The URL for the preconfigured rclone package is defined as a Global variable.

I can create the workflow, and it works as expected. however I am unable to edit the workflow and I need to delete and recreate the script component:

After creation of the step it appears like this and can be saved

image.png.320a882c82f6bd1d3b0dcf1b013e1ef1.png

 

After saving and going back into the workflow it appears like this:

image.png.ebb5579943623104ef5e5e356e122979.png

 

And trying to save:

 

image.png.83cbae3390e8f13c61cc4096e39a68ac.png

 

My question is:

Do I put a dummy value in there and will it be ignored as the script is set to asses the value on each run?

Or do I have to delete and readd that component every time I wish to edit/update the workflow?

 

 

 

Link to post
Share on other sites
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...