#Workflows look wonky after running

5 messages · Page 1 of 1 (latest)

jade flint
#

Hello. I've just recently started using workflows and, sorry for the dumb question, but it is looking wonky when I run a workflow with multiple lines, is this normal?

pastel forgeBOT
#

Hi @jade flint. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hello! It's not a dumb question at all. Based on the information provided, it seems that there was an issue with saving workflows when an argument value had too many lines, which was resolved in a later version of Warp. Users are encouraged to update to the latest version to resolve this issue (source (https://github.com/warpdotdev/Warp/issues/3694)).

Additionally, there is a suggestion to turn long command lists into scripts with parameters as a workaround, which should make it easier to deal with a longer set list of commands/arguments. Here is an example:

#!/bin/bash

# Access the parameters using $1, $2, $3, etc.
echo "The first parameter is: $1"
echo "The second parameter is: $2"
echo "The third parameter is: $3"

And the corresponding workflow:

./script.sh parameter1 parameter2 parameter3

If you're still experiencing issues, it might be helpful to provide more specific details about what you're seeing.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@jade flint kapa.ai is still learning and improving, please let us know how it did by reacting below

jade flint
#

I only have 1 argument. It's more about the the output of the terminal than the length or quantity of arguments. Nice try though